pub struct DetailedSegment {Show 25 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>,
pub created_at: Option<String>,
pub updated_at: Option<String>,
pub total_elevation_gain: Option<f32>,
pub map: Option<PolylineMap>,
pub effort_count: Option<i32>,
pub athlete_count: Option<i32>,
pub hazardous: Option<bool>,
pub star_count: Option<i32>,
}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>§created_at: Option<String>§updated_at: Option<String>§total_elevation_gain: Option<f32>§map: Option<PolylineMap>§effort_count: Option<i32>§athlete_count: Option<i32>§hazardous: Option<bool>§star_count: Option<i32>Trait Implementations§
Source§impl Clone for DetailedSegment
impl Clone for DetailedSegment
Source§fn clone(&self) -> DetailedSegment
fn clone(&self) -> DetailedSegment
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 DetailedSegment
impl Debug for DetailedSegment
Source§impl<'de> Deserialize<'de> for DetailedSegment
impl<'de> Deserialize<'de> for DetailedSegment
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 Sendable<DetailedSegment> for GetSegment
impl Sendable<DetailedSegment> for GetSegment
fn send<'async_trait>(
self,
) -> Pin<Box<dyn Future<Output = Result<DetailedSegment, ErrorWrapper>> + Send + 'async_trait>>where
Self: 'async_trait,
Source§impl Sendable<DetailedSegment> for StarSegment
impl Sendable<DetailedSegment> for StarSegment
fn send<'async_trait>(
self,
) -> Pin<Box<dyn Future<Output = Result<DetailedSegment, ErrorWrapper>> + Send + 'async_trait>>where
Self: 'async_trait,
Auto Trait Implementations§
impl Freeze for DetailedSegment
impl RefUnwindSafe for DetailedSegment
impl Send for DetailedSegment
impl Sync for DetailedSegment
impl Unpin for DetailedSegment
impl UnsafeUnpin for DetailedSegment
impl UnwindSafe for DetailedSegment
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