[−][src]Struct strava_data::models::SummaryClub
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.
pub fn set_featured(&mut self, val: Option<bool>) -> &mut Self
[src]
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]
fn clone(&self) -> SummaryClub
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SummaryClub
[src]
impl Default for SummaryClub
[src]
fn default() -> SummaryClub
[src]
impl<'de> Deserialize<'de> for SummaryClub
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for SummaryClub
[src]
Auto Trait Implementations
impl RefUnwindSafe for SummaryClub
impl Send for SummaryClub
impl Sync for SummaryClub
impl Unpin for SummaryClub
impl UnwindSafe for SummaryClub
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>,