1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
use serde::{Deserialize, Serialize};
#[cfg(feature = "wasm")]
use wasm_bindgen::prelude::wasm_bindgen;
#[cfg_attr(feature = "wasm", wasm_bindgen)]
#[derive(Debug, Serialize, Deserialize, Default, Clone)]
pub struct SummaryClub {
/// The club's unique identifier.
pub id: Option<i32>,
/// Resource state, indicates level of detail. Possible values: 1 -> \"meta\", 2 -> \"summary\", 3 -> \"detail\"
pub resource_state: Option<i32>,
/// The club's name.
pub name: Option<String>,
/// URL to a 60x60 pixel profile picture.
pub profile_medium: Option<String>,
/// URL to a ~1185x580 pixel cover photo.
pub cover_photo: Option<String>,
/// URL to a ~360x176 pixel cover photo.
pub cover_photo_small: Option<String>,
pub sport_type: Option<String>,
/// The club's city.
pub city: Option<String>,
/// The club's state or geographical region.
pub state: Option<String>,
/// The club's country.
pub country: Option<String>,
/// Whether the club is private.
pub private: Option<bool>,
/// The club's member count.
pub member_count: Option<i32>,
/// Whether the club is featured or not.
pub featured: Option<bool>,
/// Whether the club is verified or not.
pub verified: Option<bool>,
/// The club's vanity URL.
pub url: Option<String>,
}