[][src]Struct strava_data::models::SummaryAthlete

pub struct SummaryAthlete { /* fields omitted */ }

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]

impl Debug for SummaryAthlete[src]

impl Default for SummaryAthlete[src]

impl<'de> Deserialize<'de> for SummaryAthlete[src]

impl Serialize for SummaryAthlete[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.