pub struct UserInfo {Show 24 fields
pub ignored_fields: HashMap<String, Value>,
pub id: APIstring,
pub username: APIstring,
pub role: UserRole,
pub ts: Option<APIstring>,
pub botmaster: Option<APIstring>,
pub badges: Box<[UserBadge]>,
pub xp: f64,
pub gamesplayed: APIint,
pub gameswon: APIint,
pub gametime: f64,
pub country: Option<APIstring>,
pub badstanding: Option<bool>,
pub supporter: Option<bool>,
pub supporter_tier: APIint,
pub avatar_revision: Option<APIint>,
pub banner_revision: Option<APIint>,
pub bio: Option<APIstring>,
pub connections: UserConnections,
pub friend_count: Option<APIint>,
pub distinguishment: Option<UserDistinguishment>,
pub achievements: Box<APIintarray>,
pub ar: APIint,
pub ar_counts: UserArCounts,
}Fields§
§ignored_fields: HashMap<String, Value>§id: APIstring§username: APIstring§role: UserRole§ts: Option<APIstring>§botmaster: Option<APIstring>§badges: Box<[UserBadge]>§xp: f64§gamesplayed: APIint§gameswon: APIint§gametime: f64§country: Option<APIstring>§badstanding: Option<bool>§supporter: Option<bool>§supporter_tier: APIint§avatar_revision: Option<APIint>§bio: Option<APIstring>§connections: UserConnections§friend_count: Option<APIint>§distinguishment: Option<UserDistinguishment>§achievements: Box<APIintarray>§ar: APIint§ar_counts: UserArCountsTrait Implementations§
Source§impl<'de> Deserialize<'de> for UserInfo
impl<'de> Deserialize<'de> for UserInfo
Source§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 Freeze for UserInfo
impl RefUnwindSafe for UserInfo
impl Send for UserInfo
impl Sync for UserInfo
impl Unpin for UserInfo
impl UnwindSafe for UserInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more