pub struct RiderSummary { /* private fields */ }Implementations§
Source§impl RiderSummary
impl RiderSummary
pub fn rider_id(&self) -> &String
pub fn run_stats(&self) -> &Stats
pub fn ride_stats(&self) -> &Stats
pub fn swim_stats(&self) -> &Stats
pub fn walk_stats(&self) -> &Stats
Source§impl RiderSummary
impl RiderSummary
pub fn set_rider_id(&mut self, val: String) -> &mut Self
pub fn set_run_stats(&mut self, val: Stats) -> &mut Self
pub fn set_ride_stats(&mut self, val: Stats) -> &mut Self
pub fn set_swim_stats(&mut self, val: Stats) -> &mut Self
pub fn set_walk_stats(&mut self, val: Stats) -> &mut Self
Source§impl RiderSummary
impl RiderSummary
pub fn new(rider_id: String) -> RiderSummary
Trait Implementations§
Source§impl Debug for RiderSummary
impl Debug for RiderSummary
Source§impl<'de> Deserialize<'de> for RiderSummary
impl<'de> Deserialize<'de> for RiderSummary
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 RiderSummary
impl RefUnwindSafe for RiderSummary
impl Send for RiderSummary
impl Sync for RiderSummary
impl Unpin for RiderSummary
impl UnsafeUnpin for RiderSummary
impl UnwindSafe for RiderSummary
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