[][src]Struct strava_data::models::SummaryClub

pub struct SummaryClub { /* fields omitted */ }

Implementations

impl SummaryClub[src]

pub fn id(&self) -> &Option<i32>[src]

The club's unique identifier.

pub fn resource_state(&self) -> &Option<i32>[src]

Resource state, indicates level of detail. Possible values: 1 -> "meta", 2 -> "summary", 3 -> "detail"

pub fn name(&self) -> &Option<String>[src]

The club's name.

pub fn profile_medium(&self) -> &Option<String>[src]

URL to a 60x60 pixel profile picture.

pub fn cover_photo(&self) -> &Option<String>[src]

URL to a ~1185x580 pixel cover photo.

pub fn cover_photo_small(&self) -> &Option<String>[src]

URL to a ~360x176 pixel cover photo.

pub fn sport_type(&self) -> &Option<String>[src]

pub fn city(&self) -> &Option<String>[src]

The club's city.

pub fn state(&self) -> &Option<String>[src]

The club's state or geographical region.

pub fn country(&self) -> &Option<String>[src]

The club's country.

pub fn private(&self) -> &Option<bool>[src]

Whether the club is private.

pub fn member_count(&self) -> &Option<i32>[src]

The club's member count.

pub fn featured(&self) -> &Option<bool>[src]

Whether the club is featured or not.

pub fn verified(&self) -> &Option<bool>[src]

Whether the club is verified or not.

pub fn url(&self) -> &Option<String>[src]

The club's vanity URL.

impl SummaryClub[src]

pub fn set_id(&mut self, val: Option<i32>) -> &mut Self[src]

The club's unique identifier.

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_name(&mut self, val: Option<String>) -> &mut Self[src]

The club's name.

pub fn set_profile_medium(&mut self, val: Option<String>) -> &mut Self[src]

URL to a 60x60 pixel profile picture.

pub fn set_cover_photo(&mut self, val: Option<String>) -> &mut Self[src]

URL to a ~1185x580 pixel cover photo.

pub fn set_cover_photo_small(&mut self, val: Option<String>) -> &mut Self[src]

URL to a ~360x176 pixel cover photo.

pub fn set_sport_type(&mut self, val: Option<String>) -> &mut Self[src]

pub fn set_city(&mut self, val: Option<String>) -> &mut Self[src]

The club's city.

pub fn set_state(&mut self, val: Option<String>) -> &mut Self[src]

The club's state or geographical region.

pub fn set_country(&mut self, val: Option<String>) -> &mut Self[src]

The club's country.

pub fn set_private(&mut self, val: Option<bool>) -> &mut Self[src]

Whether the club is private.

pub fn set_member_count(&mut self, val: Option<i32>) -> &mut Self[src]

The club's member count.

Whether the club is featured or not.

pub fn set_verified(&mut self, val: Option<bool>) -> &mut Self[src]

Whether the club is verified or not.

pub fn set_url(&mut self, val: Option<String>) -> &mut Self[src]

The club's vanity URL.

Trait Implementations

impl Clone for SummaryClub[src]

impl Debug for SummaryClub[src]

impl Default for SummaryClub[src]

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

impl Serialize for SummaryClub[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.