pub struct Lap {Show 18 fields
pub id: Option<i64>,
pub activity: Option<MetaActivity>,
pub athlete: Option<MetaAthlete>,
pub average_cadence: Option<f32>,
pub average_speed: Option<f32>,
pub distance: Option<f32>,
pub elapsed_time: Option<i32>,
pub start_index: Option<i32>,
pub end_index: Option<i32>,
pub lap_index: Option<i32>,
pub max_speed: Option<f32>,
pub moving_time: Option<i32>,
pub name: Option<String>,
pub pace_zone: Option<i32>,
pub split: Option<i32>,
pub start_date: Option<DateTime<Utc>>,
pub start_date_local: Option<DateTime<Utc>>,
pub total_elevation_gain: Option<f32>,
}Fields§
§id: Option<i64>§activity: Option<MetaActivity>§athlete: Option<MetaAthlete>§average_cadence: Option<f32>§average_speed: Option<f32>§distance: Option<f32>§elapsed_time: Option<i32>§start_index: Option<i32>§end_index: Option<i32>§lap_index: Option<i32>§max_speed: Option<f32>§moving_time: Option<i32>§name: Option<String>§pace_zone: Option<i32>§split: Option<i32>§start_date: Option<DateTime<Utc>>§start_date_local: Option<DateTime<Utc>>§total_elevation_gain: Option<f32>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Lap
impl<'de> Deserialize<'de> for Lap
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 Lap
impl RefUnwindSafe for Lap
impl Send for Lap
impl Sync for Lap
impl Unpin for Lap
impl UnsafeUnpin for Lap
impl UnwindSafe for Lap
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