pub struct PlayerRatings {
pub standard: Vec<i64>,
pub rapid: Vec<i64>,
pub blitz: Vec<i64>,
}Expand description
Each rating point encodes a year, month, and elo rating as a single number,
e.g. 2015081568 decodes to August 2015, elo 1568.
Fields§
§standard: Vec<i64>§rapid: Vec<i64>§blitz: Vec<i64>Trait Implementations§
Source§impl Clone for PlayerRatings
impl Clone for PlayerRatings
Source§fn clone(&self) -> PlayerRatings
fn clone(&self) -> PlayerRatings
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PlayerRatings
impl Debug for PlayerRatings
Source§impl<'de> Deserialize<'de> for PlayerRatings
impl<'de> Deserialize<'de> for PlayerRatings
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 PlayerRatings
impl RefUnwindSafe for PlayerRatings
impl Send for PlayerRatings
impl Sync for PlayerRatings
impl Unpin for PlayerRatings
impl UnsafeUnpin for PlayerRatings
impl UnwindSafe for PlayerRatings
Blanket Implementations§
impl<B> BodyBounds for Bwhere
B: Serialize,
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