Struct google_fitness1::api::AggregateBucket
source · pub struct AggregateBucket {
pub activity: Option<i32>,
pub dataset: Option<Vec<Dataset>>,
pub end_time_millis: Option<i64>,
pub session: Option<Session>,
pub start_time_millis: Option<i64>,
pub type_: Option<String>,
}
Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§activity: Option<i32>
Available for Bucket.Type.ACTIVITY_TYPE, Bucket.Type.ACTIVITY_SEGMENT
dataset: Option<Vec<Dataset>>
There will be one dataset per AggregateBy in the request.
end_time_millis: Option<i64>
The end time for the aggregated data, in milliseconds since epoch, inclusive.
session: Option<Session>
Available for Bucket.Type.SESSION
start_time_millis: Option<i64>
The start time for the aggregated data, in milliseconds since epoch, inclusive.
type_: Option<String>
The type of a bucket signifies how the data aggregation is performed in the bucket.
Trait Implementations§
source§impl Clone for AggregateBucket
impl Clone for AggregateBucket
source§fn clone(&self) -> AggregateBucket
fn clone(&self) -> AggregateBucket
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AggregateBucket
impl Debug for AggregateBucket
source§impl Default for AggregateBucket
impl Default for AggregateBucket
source§fn default() -> AggregateBucket
fn default() -> AggregateBucket
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AggregateBucket
impl<'de> Deserialize<'de> for AggregateBucket
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for AggregateBucket
impl Serialize for AggregateBucket
impl Part for AggregateBucket
Auto Trait Implementations§
impl RefUnwindSafe for AggregateBucket
impl Send for AggregateBucket
impl Sync for AggregateBucket
impl Unpin for AggregateBucket
impl UnwindSafe for AggregateBucket
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more