pub struct ClubActivity {
pub athlete: Option<MetaAthlete>,
pub name: Option<String>,
pub distance: Option<f32>,
pub moving_time: Option<i32>,
pub elapsed_time: Option<i32>,
pub total_elevation_gain: Option<f32>,
pub type: Option<ActivityType>,
pub sport_type: Option<SportType>,
pub workout_type: Option<i32>,
}Fields§
§athlete: Option<MetaAthlete>§name: Option<String>§distance: Option<f32>§moving_time: Option<i32>§elapsed_time: Option<i32>§total_elevation_gain: Option<f32>§type: Option<ActivityType>👎Deprecated:
§Use sport_type instead
sport_type: Option<SportType>§workout_type: Option<i32>Trait Implementations§
Source§impl Clone for ClubActivity
impl Clone for ClubActivity
Source§fn clone(&self) -> ClubActivity
fn clone(&self) -> ClubActivity
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 ClubActivity
impl Debug for ClubActivity
Source§impl<'de> Deserialize<'de> for ClubActivity
impl<'de> Deserialize<'de> for ClubActivity
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 ClubActivity
impl RefUnwindSafe for ClubActivity
impl Send for ClubActivity
impl Sync for ClubActivity
impl Unpin for ClubActivity
impl UnsafeUnpin for ClubActivity
impl UnwindSafe for ClubActivity
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