pub struct Player {Show 14 fields
pub player: String,
pub points: Points,
pub team_rank: Option<Rank>,
pub rank: Option<Rank>,
pub points_last_year: Option<Rank>,
pub points_last_month: Option<Rank>,
pub points_last_week: Option<Rank>,
pub favorite_server: FavoriteServer,
pub first_finish: FirstFinish,
pub last_finishes: Vec<LastFinish>,
pub favorite_partners: Vec<FavoritePartner>,
pub types: Types,
pub activity: Vec<Activity>,
pub hours_played_past_365_days: i64,
}
Fields§
§player: String
§points: Points
§team_rank: Option<Rank>
§rank: Option<Rank>
§points_last_year: Option<Rank>
§points_last_month: Option<Rank>
§points_last_week: Option<Rank>
§favorite_server: FavoriteServer
§first_finish: FirstFinish
§last_finishes: Vec<LastFinish>
§favorite_partners: Vec<FavoritePartner>
§types: Types
§activity: Vec<Activity>
§hours_played_past_365_days: i64
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Player
impl<'de> Deserialize<'de> for Player
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
impl StructuralPartialEq for Player
Auto Trait Implementations§
impl Freeze for Player
impl RefUnwindSafe for Player
impl Send for Player
impl Sync for Player
impl Unpin for Player
impl UnwindSafe for Player
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