pub struct ActivityZone {
pub score: Option<i32>,
pub distribution_buckets: Option<Vec<TimedZoneDistribution>>,
pub zone_type: Option<String>,
pub sensor_based: Option<bool>,
pub points: Option<i32>,
pub custom_zones: Option<bool>,
pub max: Option<i32>,
}Expand description
Time-in-zone breakdown returned from GET /activities/{id}/zones.
One entry per zone type (heart rate, pace, etc.) that the activity has data for.
Fields§
§score: Option<i32>§distribution_buckets: Option<Vec<TimedZoneDistribution>>§zone_type: Option<String>§sensor_based: Option<bool>§points: Option<i32>§custom_zones: Option<bool>§max: Option<i32>Trait Implementations§
Source§impl Clone for ActivityZone
impl Clone for ActivityZone
Source§fn clone(&self) -> ActivityZone
fn clone(&self) -> ActivityZone
Returns a duplicate 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 ActivityZone
impl Debug for ActivityZone
Source§impl<'de> Deserialize<'de> for ActivityZone
impl<'de> Deserialize<'de> for ActivityZone
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
Auto Trait Implementations§
impl Freeze for ActivityZone
impl RefUnwindSafe for ActivityZone
impl Send for ActivityZone
impl Sync for ActivityZone
impl Unpin for ActivityZone
impl UnsafeUnpin for ActivityZone
impl UnwindSafe for ActivityZone
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