pub struct ChessStatsBest {
pub rating: i32,
pub date: DateTime<Utc>,
pub game: String,
}
Expand description
Best rating achieved by a win
Fields§
§rating: i32
Highest rating achieved
date: DateTime<Utc>
Timestamp of the best-win game
game: String
URL of the best-win game
Implementations§
Trait Implementations§
Source§impl Clone for ChessStatsBest
impl Clone for ChessStatsBest
Source§fn clone(&self) -> ChessStatsBest
fn clone(&self) -> ChessStatsBest
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 ChessStatsBest
impl Debug for ChessStatsBest
Source§impl<'de> Deserialize<'de> for ChessStatsBest
impl<'de> Deserialize<'de> for ChessStatsBest
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 ChessStatsBest
impl PartialEq for ChessStatsBest
Source§impl Serialize for ChessStatsBest
impl Serialize for ChessStatsBest
impl StructuralPartialEq for ChessStatsBest
Auto Trait Implementations§
impl Freeze for ChessStatsBest
impl RefUnwindSafe for ChessStatsBest
impl Send for ChessStatsBest
impl Sync for ChessStatsBest
impl Unpin for ChessStatsBest
impl UnwindSafe for ChessStatsBest
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