pub struct DDPlayer {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: Option<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: Option<Vec<FavoritePartner>>
§types: Types
§activity: Vec<Activity>
§hours_played_past_365_days: i64
Trait Implementations§
source§impl<'de> Deserialize<'de> for DDPlayer
impl<'de> Deserialize<'de> for DDPlayer
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 DDPlayer
Auto Trait Implementations§
impl Freeze for DDPlayer
impl RefUnwindSafe for DDPlayer
impl Send for DDPlayer
impl Sync for DDPlayer
impl Unpin for DDPlayer
impl UnwindSafe for DDPlayer
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)