pub struct ActivityStats {
pub biggest_ride_distance: Option<f64>,
pub biggest_climb_elevation_gain: Option<f64>,
pub recent_ride_totals: Option<ActivityTotal>,
pub recent_run_totals: Option<ActivityTotal>,
pub recent_swim_totals: Option<ActivityTotal>,
pub ytd_ride_totals: Option<ActivityTotal>,
pub ytd_run_totals: Option<ActivityTotal>,
pub ytd_swim_totals: Option<ActivityTotal>,
pub all_ride_totals: Option<ActivityTotal>,
pub all_run_totals: Option<ActivityTotal>,
pub all_swim_totals: Option<ActivityTotal>,
}Fields§
§biggest_ride_distance: Option<f64>§biggest_climb_elevation_gain: Option<f64>§recent_ride_totals: Option<ActivityTotal>§recent_run_totals: Option<ActivityTotal>§recent_swim_totals: Option<ActivityTotal>§ytd_ride_totals: Option<ActivityTotal>§ytd_run_totals: Option<ActivityTotal>§ytd_swim_totals: Option<ActivityTotal>§all_ride_totals: Option<ActivityTotal>§all_run_totals: Option<ActivityTotal>§all_swim_totals: Option<ActivityTotal>Trait Implementations§
Source§impl Clone for ActivityStats
impl Clone for ActivityStats
Source§fn clone(&self) -> ActivityStats
fn clone(&self) -> ActivityStats
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 ActivityStats
impl Debug for ActivityStats
Source§impl<'de> Deserialize<'de> for ActivityStats
impl<'de> Deserialize<'de> for ActivityStats
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<ActivityStats> for GetAthleteStats
impl Sendable<ActivityStats> for GetAthleteStats
fn send<'async_trait>(
self,
) -> Pin<Box<dyn Future<Output = Result<ActivityStats, ErrorWrapper>> + Send + 'async_trait>>where
Self: 'async_trait,
Auto Trait Implementations§
impl Freeze for ActivityStats
impl RefUnwindSafe for ActivityStats
impl Send for ActivityStats
impl Sync for ActivityStats
impl Unpin for ActivityStats
impl UnwindSafe for ActivityStats
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