Struct strava_data::models::SummaryClub [−][src]
pub struct SummaryClub {Show 15 fields
pub id: Option<i32>,
pub resource_state: Option<i32>,
pub name: Option<String>,
pub profile_medium: Option<String>,
pub cover_photo: Option<String>,
pub cover_photo_small: Option<String>,
pub sport_type: Option<String>,
pub city: Option<String>,
pub state: Option<String>,
pub country: Option<String>,
pub private: Option<bool>,
pub member_count: Option<i32>,
pub featured: Option<bool>,
pub verified: Option<bool>,
pub url: Option<String>,
}Fields
id: Option<i32>The club’s unique identifier.
resource_state: Option<i32>Resource state, indicates level of detail. Possible values: 1 -> "meta", 2 -> "summary", 3 -> "detail"
name: Option<String>The club’s name.
profile_medium: Option<String>URL to a 60x60 pixel profile picture.
cover_photo: Option<String>URL to a ~1185x580 pixel cover photo.
cover_photo_small: Option<String>URL to a ~360x176 pixel cover photo.
sport_type: Option<String>city: Option<String>The club’s city.
state: Option<String>The club’s state or geographical region.
country: Option<String>The club’s country.
private: Option<bool>Whether the club is private.
member_count: Option<i32>The club’s member count.
featured: Option<bool>Whether the club is featured or not.
verified: Option<bool>Whether the club is verified or not.
url: Option<String>The club’s vanity URL.
Trait Implementations
Returns the “default value” for a type. Read more
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
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
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more