pub struct ChessStats {
pub last: ChessStatsLast,
pub best: Option<ChessStatsBest>,
pub record: ChessStatsRecord,
pub tournament: Option<ChessStatsTournament>,
}
Fields§
§last: ChessStatsLast
§best: Option<ChessStatsBest>
§record: ChessStatsRecord
§tournament: Option<ChessStatsTournament>
Implementations§
Source§impl ChessStats
impl ChessStats
pub fn new(last: ChessStatsLast, record: ChessStatsRecord) -> ChessStats
Trait Implementations§
Source§impl Clone for ChessStats
impl Clone for ChessStats
Source§fn clone(&self) -> ChessStats
fn clone(&self) -> ChessStats
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 ChessStats
impl Debug for ChessStats
Source§impl<'de> Deserialize<'de> for ChessStats
impl<'de> Deserialize<'de> for ChessStats
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 ChessStats
impl PartialEq for ChessStats
Source§impl Serialize for ChessStats
impl Serialize for ChessStats
impl StructuralPartialEq for ChessStats
Auto Trait Implementations§
impl Freeze for ChessStats
impl RefUnwindSafe for ChessStats
impl Send for ChessStats
impl Sync for ChessStats
impl Unpin for ChessStats
impl UnwindSafe for ChessStats
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