Struct chill::ViewResponse [] [src]

pub struct ViewResponse {
    // some fields omitted
}

Methods

impl ViewResponse
[src]

fn total_rows(&self) -> Option<u64>

Returns how many rows are in the view, including rows excluded in the response, if available.

The total number of rows is available if and only if the view is unreduced. Even group-reduced views, which may contain multiple rows in the response, have no total number of rows associated with them.

fn offset(&self) -> Option<u64>

Returns how many rows are excluded from the view response that are ordered before the first row in the response, if available.

The offset is available if and only if the view is unreduced.

fn update_sequence_number(&self) -> Option<u64>

Returns the update sequence number that the view reflects, if available.

fn rows(&self) -> &Vec<ViewRow>

Returns the vector containing all rows in the view response.

Trait Implementations

impl PartialEq for ViewResponse
[src]

fn eq(&self, __arg_0: &ViewResponse) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &ViewResponse) -> bool

This method tests for !=.

impl Debug for ViewResponse
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for ViewResponse
[src]

fn clone(&self) -> ViewResponse

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more