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]

[src]

Generate a new subview of this DataView.

[src]

Generate a new subview of this DataView, generating an error if a specified field does not exist.

[src]

Number of rows in this data view

[src]

Number of fields in this data view

[src]

Field names in this data view

[src]

Rename a field of this DataView.

[src]

Merge this DataView with another DataView object, creating a new DataView with the same number of rows and all the fields from both source DataView objects.

[src]

Combine two DataView objects using specified join, creating a new DataStore object with a subset of records from the two source DataViews according to the join parameters.

Note that since this is creating a new DataStore object, it will be allocated new data to store the contents of the joined DataViews.

impl DataView
[src]

[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]

[src]

Formats the value using the given formatter. Read more

impl Clone for DataView
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for DataView
[src]

[src]

Returns the "default value" for a type. Read more

impl From<DataStore> for DataView
[src]

[src]

Performs the conversion.

impl Display for DataView
[src]

[src]

Formats the value using the given formatter. Read more

impl Serialize for DataView
[src]

[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

impl !Send for DataView

impl !Sync for DataView