[−][src]Struct wccg_data::models::Activity
Fields
rider_id: String
The rider id
name: Option<String>
The name of the activity
description: Option<String>
The description of the activity
data_source: Option<String>
The source of the data (external, manual, admin entry, etc)
external_source_name: Option<String>
The name of the data source, if external
external_activity_id: Option<String>
The external unique identifier of the activity from the external source (e.g., strava activity id)
external_athlete_id: Option<String>
The external id of the athlete
activity_type: Option<ActivityType>
The activity type. Could be Ride, Run, etc.
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
start_date: Option<String>
The time at which the activity was started
start_timestamp: Option<i64>
The timestamp at which the activity was started
start_date_local: Option<String>
The time at which the activity was started, in local timezone
start_timestamp_local: Option<i64>
The timestamp at which the activity was started, in local timezone
start_day_local: Option<i32>
The date of local start date
start_month_local: Option<i32>
The month of local start date
start_year_local: Option<i32>
The year of local start date
timezone: Option<String>
The timezone of the activity
utc_offset: Option<i32>
The UTC offset of the local timezone
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
Trait Implementations
impl Debug for Activity
[src]
impl<'de> Deserialize<'de> for Activity
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for Activity
[src]
Auto Trait Implementations
impl RefUnwindSafe for Activity
impl Send for Activity
impl Sync for Activity
impl Unpin for Activity
impl UnwindSafe for Activity
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: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> From<T> for T
[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>,