Struct resol_vbus::DataSet [] [src]

pub struct DataSet {
    pub timestamp: DateTime<UTC>,
    // some fields omitted
}

A DataSet contains a set of unique Data.

Fields

The timestamp that corresponds to the contained set of Data objects.

Methods

impl DataSet
[src]

Construct an empty DataSet.

Construct a DataSet from a list of Data objects.

Return the Data objects contained in this DataSet.

Add a Data object, replacing any equivalent existing one.

Add all Data objects from one DataSet into another.

Remove Data with timestamps older than min_timestamp.

Sort the Data objects contained in this DataSet.

Trait Implementations

impl Clone for DataSet
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for DataSet
[src]

Formats the value using the given formatter.