pub struct SummarySegment {Show 17 fields
pub id: Option<i64>,
pub name: Option<String>,
pub activity_type: Option<String>,
pub distance: Option<f32>,
pub average_grade: Option<f32>,
pub maximum_grade: Option<f32>,
pub elevation_high: Option<f32>,
pub elevation_low: Option<f32>,
pub start_latlng: Option<LatLng>,
pub end_latlng: Option<LatLng>,
pub climb_category: Option<i32>,
pub city: Option<String>,
pub state: Option<String>,
pub country: Option<String>,
pub private: Option<bool>,
pub athlete_pr_effort: Option<SummaryPRSegmentEffort>,
pub athlete_segment_stats: Option<SummarySegmentEffort>,
}Fields§
§id: Option<i64>§name: Option<String>§activity_type: Option<String>§distance: Option<f32>§average_grade: Option<f32>§maximum_grade: Option<f32>§elevation_high: Option<f32>§elevation_low: Option<f32>§start_latlng: Option<LatLng>§end_latlng: Option<LatLng>§climb_category: Option<i32>§city: Option<String>§state: Option<String>§country: Option<String>§private: Option<bool>§athlete_pr_effort: Option<SummaryPRSegmentEffort>§athlete_segment_stats: Option<SummarySegmentEffort>Trait Implementations§
Source§impl Clone for SummarySegment
impl Clone for SummarySegment
Source§fn clone(&self) -> SummarySegment
fn clone(&self) -> SummarySegment
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 SummarySegment
impl Debug for SummarySegment
Source§impl<'de> Deserialize<'de> for SummarySegment
impl<'de> Deserialize<'de> for SummarySegment
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 SummarySegment
impl RefUnwindSafe for SummarySegment
impl Send for SummarySegment
impl Sync for SummarySegment
impl Unpin for SummarySegment
impl UnsafeUnpin for SummarySegment
impl UnwindSafe for SummarySegment
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