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_val: Option<Vec<ValueMapValEntry>>
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.
fp_val: Option<f64>
Floating point value. When this is set, other values must not be set.
int_val: Option<i32>
Integer value. When this is set, other values must not be set.
string_val: Option<String>
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]
impl Default for Value
impl Clone for Value
[src]
impl Clone for Value
fn clone(&self) -> Value
[src]
fn clone(&self) -> Value
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for Value
[src]
impl Debug for Value
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for Value
[src]
impl Part for Value