Struct chill::ViewRow
[−]
[src]
pub struct ViewRow { // some fields omitted }
Methods
impl ViewRow
[src]
fn key<K: Deserialize>(&self) -> Result<Option<K>, Error>
Returns the row's key, if available.
The key is available if and only if the view is unreduced or if the view is reduced but grouped.
fn value<V: Deserialize>(&self) -> Result<V, Error>
Returns the row's value.
fn document_path(&self) -> Option<&DocumentPath>
Returns the row's related document path, if available.
The document path is available if and only if the view is unreduced.
fn document(&self) -> Option<&Document>
Trait Implementations
impl PartialEq for ViewRow
[src]
fn eq(&self, __arg_0: &ViewRow) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ViewRow) -> bool
This method tests for !=
.
impl Debug for ViewRow
[src]
impl Clone for ViewRow
[src]
fn clone(&self) -> ViewRow
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