[−][src]Struct strava_data::models::SummaryAthlete
Implementations
impl SummaryAthlete
[src]
pub fn id(&self) -> &Option<i32>
[src]
The unique identifier of the athlete
pub fn resource_state(&self) -> &Option<i32>
[src]
Resource state, indicates level of detail. Possible values: 1 -> "meta", 2 -> "summary", 3 -> "detail"
pub fn firstname(&self) -> &Option<String>
[src]
The athlete's first name.
pub fn lastname(&self) -> &Option<String>
[src]
The athlete's last name.
pub fn profile_medium(&self) -> &Option<String>
[src]
URL to a 62x62 pixel profile picture.
pub fn profile(&self) -> &Option<String>
[src]
URL to a 124x124 pixel profile picture.
pub fn city(&self) -> &Option<String>
[src]
The athlete's city.
pub fn state(&self) -> &Option<String>
[src]
The athlete's state or geographical region.
pub fn country(&self) -> &Option<String>
[src]
The athlete's country.
pub fn sex(&self) -> &Option<String>
[src]
The athlete's sex.
pub fn summit(&self) -> &Option<bool>
[src]
Whether the athlete has any Summit subscription.
pub fn created_at(&self) -> &Option<String>
[src]
The time at which the athlete was created.
pub fn updated_at(&self) -> &Option<String>
[src]
The time at which the athlete was last updated.
pub fn follower_count(&self) -> &Option<i32>
[src]
The athlete's follower count.
pub fn friend_count(&self) -> &Option<i32>
[src]
The athlete's friend count.
pub fn measurement_preference(&self) -> &Option<String>
[src]
The athlete's preferred unit system.
pub fn ftp(&self) -> &Option<i32>
[src]
The athlete's FTP (Functional Threshold Power).
pub fn weight(&self) -> &Option<f32>
[src]
The athlete's weight.
pub fn clubs(&self) -> &Option<Vec<SummaryClub>>
[src]
The athlete's clubs.
pub fn bikes(&self) -> &Option<Vec<SummaryGear>>
[src]
The athlete's bikes.
pub fn shoes(&self) -> &Option<Vec<SummaryGear>>
[src]
The athlete's shoes.
impl SummaryAthlete
[src]
pub fn set_id(&mut self, val: Option<i32>) -> &mut Self
[src]
The unique identifier of the athlete
pub fn set_resource_state(&mut self, val: Option<i32>) -> &mut Self
[src]
Resource state, indicates level of detail. Possible values: 1 -> "meta", 2 -> "summary", 3 -> "detail"
pub fn set_firstname(&mut self, val: Option<String>) -> &mut Self
[src]
The athlete's first name.
pub fn set_lastname(&mut self, val: Option<String>) -> &mut Self
[src]
The athlete's last name.
pub fn set_profile_medium(&mut self, val: Option<String>) -> &mut Self
[src]
URL to a 62x62 pixel profile picture.
pub fn set_profile(&mut self, val: Option<String>) -> &mut Self
[src]
URL to a 124x124 pixel profile picture.
pub fn set_city(&mut self, val: Option<String>) -> &mut Self
[src]
The athlete's city.
pub fn set_state(&mut self, val: Option<String>) -> &mut Self
[src]
The athlete's state or geographical region.
pub fn set_country(&mut self, val: Option<String>) -> &mut Self
[src]
The athlete's country.
pub fn set_sex(&mut self, val: Option<String>) -> &mut Self
[src]
The athlete's sex.
pub fn set_summit(&mut self, val: Option<bool>) -> &mut Self
[src]
Whether the athlete has any Summit subscription.
pub fn set_created_at(&mut self, val: Option<String>) -> &mut Self
[src]
The time at which the athlete was created.
pub fn set_updated_at(&mut self, val: Option<String>) -> &mut Self
[src]
The time at which the athlete was last updated.
pub fn set_follower_count(&mut self, val: Option<i32>) -> &mut Self
[src]
The athlete's follower count.
pub fn set_friend_count(&mut self, val: Option<i32>) -> &mut Self
[src]
The athlete's friend count.
pub fn set_measurement_preference(&mut self, val: Option<String>) -> &mut Self
[src]
The athlete's preferred unit system.
pub fn set_ftp(&mut self, val: Option<i32>) -> &mut Self
[src]
The athlete's FTP (Functional Threshold Power).
pub fn set_weight(&mut self, val: Option<f32>) -> &mut Self
[src]
The athlete's weight.
pub fn set_clubs(&mut self, val: Option<Vec<SummaryClub>>) -> &mut Self
[src]
The athlete's clubs.
pub fn set_bikes(&mut self, val: Option<Vec<SummaryGear>>) -> &mut Self
[src]
The athlete's bikes.
pub fn set_shoes(&mut self, val: Option<Vec<SummaryGear>>) -> &mut Self
[src]
The athlete's shoes.
Trait Implementations
impl Clone for SummaryAthlete
[src]
fn clone(&self) -> SummaryAthlete
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SummaryAthlete
[src]
impl Default for SummaryAthlete
[src]
fn default() -> SummaryAthlete
[src]
impl<'de> Deserialize<'de> for SummaryAthlete
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for SummaryAthlete
[src]
Auto Trait Implementations
impl RefUnwindSafe for SummaryAthlete
impl Send for SummaryAthlete
impl Sync for SummaryAthlete
impl Unpin for SummaryAthlete
impl UnwindSafe for SummaryAthlete
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,