[−][src]Struct strava_data::models::DetailedActivity
Fields
id: Option<i64>
The unique identifier of the activity
external_id: Option<String>
The identifier provided at upload time
upload_id: Option<i64>
The identifier of the upload that resulted in this activity
athlete: Option<MetaAthlete>
name: Option<String>
The name of the activity
distance: Option<f32>
The activity's distance, in meters
moving_time: Option<i32>
The activity's moving time, in seconds
elapsed_time: Option<i32>
The activity's elapsed time, in seconds
total_elevation_gain: Option<f32>
The activity's total elevation gain.
elev_high: Option<f32>
The activity's highest elevation, in meters
elev_low: Option<f32>
The activity's lowest elevation, in meters
activity_type: Option<ActivityType>
start_date: Option<String>
The time at which the activity was started.
start_date_local: Option<String>
The time at which the activity was started in the local timezone.
timezone: Option<String>
The timezone of the activity
utc_offset: Option<f32>
The UTC offset of the local timezone
achievement_count: Option<i32>
The number of achievements gained during this activity
kudos_count: Option<i32>
The number of kudos given for this activity
comment_count: Option<i32>
The number of comments for this activity
athlete_count: Option<i32>
The number of athletes for taking part in a group activity
photo_count: Option<i32>
The number of Instagram photos for this activity
total_photo_count: Option<i32>
The number of Instagram and Strava photos for this activity
map: Option<PolylineMap>
trainer: Option<bool>
Whether this activity was recorded on a training machine
commute: Option<bool>
Whether this activity is a commute
manual: Option<bool>
Whether this activity was created manually
private: Option<bool>
Whether this activity is private
flagged: Option<bool>
Whether this activity is flagged
workout_type: Option<i32>
The activity's workout type
upload_id_str: Option<String>
The unique identifier of the upload in string format
average_speed: Option<f32>
The activity's average speed, in meters per second
max_speed: Option<f32>
The activity's max speed, in meters per second
has_kudoed: Option<bool>
Whether the logged-in athlete has kudoed this activity
gear_id: Option<String>
The id of the gear for the activity
kilojoules: Option<f32>
The total work done in kilojoules during this activity. Rides only
average_watts: Option<f32>
Average power output in watts during this activity. Rides only
device_watts: Option<bool>
Whether the watts are from a power meter, false if estimated
max_watts: Option<i32>
Rides with power meter data only
description: Option<String>
The description of the activity
calories: Option<f32>
The number of kilocalories consumed during this activity
device_name: Option<String>
The name of the device used to record the activity
embed_token: Option<String>
The token used to embed a Strava activity
Trait Implementations
impl Debug for DetailedActivity
[src]
impl<'de> Deserialize<'de> for DetailedActivity
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for DetailedActivity
[src]
Auto Trait Implementations
impl RefUnwindSafe for DetailedActivity
impl Send for DetailedActivity
impl Sync for DetailedActivity
impl Unpin for DetailedActivity
impl UnwindSafe for DetailedActivity
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,