pub struct Player {
pub unique_id: String,
pub display_name: String,
pub platform: Platform,
pub avatar: Option<String>,
pub profile_url: String,
pub signature_url: String,
pub stats: Stats,
pub ranked_seasons: BTreeMap<String, BTreeMap<String, RankedData>>,
pub last_requested: i64,
pub created_at: i64,
pub updated_at: i64,
pub next_update_at: i64,
}
Expand description
A RocketLeague player.
Players will only exist if they have scored at least one goal.
Fields§
§unique_id: String
Steam 64 ID / PSN Username / Xbox XUID
display_name: String
§platform: Platform
§avatar: Option<String>
§profile_url: String
§signature_url: String
§stats: Stats
§ranked_seasons: BTreeMap<String, BTreeMap<String, RankedData>>
§last_requested: i64
This is a unix timestamp.
created_at: i64
This is a unix timestamp.
updated_at: i64
This is a unix timestamp.
next_update_at: i64
This is a unix timestamp.
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
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