pub struct DetailedAthlete {Show 22 fields
pub id: Option<i64>,
pub resource_state: Option<i32>,
pub firstname: Option<String>,
pub lastname: Option<String>,
pub profile_medium: Option<String>,
pub profile: Option<String>,
pub city: Option<String>,
pub state: Option<String>,
pub country: Option<String>,
pub sex: Option<String>,
pub premium: Option<bool>,
pub summit: Option<bool>,
pub created_at: Option<DateTime<Utc>>,
pub updated_at: Option<DateTime<Utc>>,
pub follower_count: Option<i32>,
pub friend_count: Option<i32>,
pub measurement_preference: Option<String>,
pub ftp: Option<i32>,
pub weight: Option<f32>,
pub clubs: Option<Vec<SummaryClub>>,
pub bikes: Option<Vec<SummaryGear>>,
pub shoes: Option<Vec<SummaryGear>>,
}Fields§
§id: Option<i64>§resource_state: Option<i32>§firstname: Option<String>§lastname: Option<String>§profile_medium: Option<String>§profile: Option<String>§city: Option<String>§state: Option<String>§country: Option<String>§sex: Option<String>👎Deprecated:
§Use summit instead
summit: Option<bool>§created_at: Option<DateTime<Utc>>§updated_at: Option<DateTime<Utc>>§follower_count: Option<i32>§friend_count: Option<i32>§measurement_preference: Option<String>§ftp: Option<i32>§weight: Option<f32>§clubs: Option<Vec<SummaryClub>>§bikes: Option<Vec<SummaryGear>>§shoes: Option<Vec<SummaryGear>>Trait Implementations§
Source§impl Clone for DetailedAthlete
impl Clone for DetailedAthlete
Source§fn clone(&self) -> DetailedAthlete
fn clone(&self) -> DetailedAthlete
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 DetailedAthlete
impl Debug for DetailedAthlete
Source§impl<'de> Deserialize<'de> for DetailedAthlete
impl<'de> Deserialize<'de> for DetailedAthlete
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<DetailedAthlete> for GetAthlete
impl Sendable<DetailedAthlete> for GetAthlete
fn send<'async_trait>(
self,
) -> Pin<Box<dyn Future<Output = Result<DetailedAthlete, ErrorWrapper>> + Send + 'async_trait>>where
Self: 'async_trait,
Source§impl Sendable<DetailedAthlete> for UpdateAthlete
impl Sendable<DetailedAthlete> for UpdateAthlete
fn send<'async_trait>(
self,
) -> Pin<Box<dyn Future<Output = Result<DetailedAthlete, ErrorWrapper>> + Send + 'async_trait>>where
Self: 'async_trait,
Auto Trait Implementations§
impl Freeze for DetailedAthlete
impl RefUnwindSafe for DetailedAthlete
impl Send for DetailedAthlete
impl Sync for DetailedAthlete
impl Unpin for DetailedAthlete
impl UnsafeUnpin for DetailedAthlete
impl UnwindSafe for DetailedAthlete
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