pub struct ChessStatsLast {
pub rating: i32,
pub date: DateTime<Utc>,
pub rd: i32,
}
Fields§
§rating: i32
Most-recent rating
date: DateTime<Utc>
Timestamp of the last rated game finished
rd: i32
Glicko "RD" value used to calculate ratings changes
Implementations§
Trait Implementations§
Source§impl Clone for ChessStatsLast
impl Clone for ChessStatsLast
Source§fn clone(&self) -> ChessStatsLast
fn clone(&self) -> ChessStatsLast
Returns a duplicate of the value. Read more
1.0.0 · 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 ChessStatsLast
impl Debug for ChessStatsLast
Source§impl<'de> Deserialize<'de> for ChessStatsLast
impl<'de> Deserialize<'de> for ChessStatsLast
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
Source§impl PartialEq for ChessStatsLast
impl PartialEq for ChessStatsLast
Source§impl Serialize for ChessStatsLast
impl Serialize for ChessStatsLast
impl StructuralPartialEq for ChessStatsLast
Auto Trait Implementations§
impl Freeze for ChessStatsLast
impl RefUnwindSafe for ChessStatsLast
impl Send for ChessStatsLast
impl Sync for ChessStatsLast
impl Unpin for ChessStatsLast
impl UnwindSafe for ChessStatsLast
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