Struct agnes::view::DataView
[−]
[src]
pub struct DataView { /* fields omitted */ }
A 'view' into a data store. The primary struct for viewing and manipulating data.
Methods
impl DataView
[src]
pub fn v<L: IntoFieldList>(&self, s: L) -> DataView
[src]
Generate a new subview of this DataView.
impl DataView
[src]
pub fn as_fieldview(&self) -> Option<FieldView>
[src]
Create a FieldView
object from a DataView
object, if possible. Typically, use this on
DataView
objects with only a single field; however, if the DataView
object has multiple
fields, the first one will be used for this FieldView
. Returns None
if the DataView
has no fields (is empty).
Trait Implementations
impl Debug for DataView
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for DataView
[src]
fn clone(&self) -> DataView
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for DataView
[src]
impl<'a, L: IntoFieldList> Rem<L> for &'a DataView
[src]
A shortcut for dataview.v
type Output = DataView
The resulting type after applying the %
operator.
fn rem(self, s: L) -> DataView
[src]
Performs the %
operation.
impl From<DataStore> for DataView
[src]
impl Display for DataView
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more