Struct google_fitness1::Value[][src]

pub struct Value {
    pub map_val: Option<Vec<ValueMapValEntry>>,
    pub fp_val: Option<f64>,
    pub int_val: Option<i32>,
    pub string_val: Option<String>,
}

Holder object for the value of a single field in a data point.

A field value has a particular format and is only ever set to one of an integer or a floating point value. LINT.IfChange

This type is not used in any activity, and only used as part of another schema.

Fields

Map value. The valid key space and units for the corresponding value of each entry should be documented as part of the data type definition. Keys should be kept small whenever possible. Data streams with large keys and high data frequency may be down sampled.

Floating point value. When this is set, other values must not be set.

Integer value. When this is set, other values must not be set.

String value. When this is set, other values must not be set. Strings should be kept small whenever possible. Data streams with large string values and high data frequency may be down sampled.

Trait Implementations

impl Default for Value
[src]

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

impl Clone for Value
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Value
[src]

Formats the value using the given formatter. Read more

impl Part for Value
[src]

Auto Trait Implementations

impl Send for Value

impl Sync for Value