[][src]Struct google_fitness1::Dataset

pub struct Dataset {
    pub min_start_time_ns: Option<String>,
    pub next_page_token: Option<String>,
    pub max_end_time_ns: Option<String>,
    pub data_source_id: Option<String>,
    pub point: Option<Vec<DataPoint>>,
}

A dataset represents a projection container for data points. They do not carry any info of their own. Datasets represent a set of data points from a particular data source. A data point can be found in more than one dataset.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

min_start_time_ns: Option<String>

The smallest start time of all data points in this possibly partial representation of the dataset. Time is in nanoseconds from epoch. This should also match the first part of the dataset identifier.

next_page_token: Option<String>

This token will be set when a dataset is received in response to a GET request and the dataset is too large to be included in a single response. Provide this value in a subsequent GET request to return the next page of data points within this dataset.

max_end_time_ns: Option<String>

The largest end time of all data points in this possibly partial representation of the dataset. Time is in nanoseconds from epoch. This should also match the second part of the dataset identifier.

data_source_id: Option<String>

The data stream ID of the data source that created the points in this dataset.

point: Option<Vec<DataPoint>>

A partial list of data points contained in the dataset, ordered by largest endTimeNanos first. This list is considered complete when retrieving a small dataset and partial when patching a dataset or retrieving a dataset that is too large to include in a single response.

Trait Implementations

impl Clone for Dataset[src]

impl Debug for Dataset[src]

impl Default for Dataset[src]

impl<'de> Deserialize<'de> for Dataset[src]

impl RequestValue for Dataset[src]

impl ResponseResult for Dataset[src]

impl Serialize for Dataset[src]

Auto Trait Implementations

impl RefUnwindSafe for Dataset

impl Send for Dataset

impl Sync for Dataset

impl Unpin for Dataset

impl UnwindSafe for Dataset

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any