pub struct PlayerStats {
pub chess_daily: Option<ChessStats>,
pub chess_rapid: Option<ChessStats>,
pub chess_blitz: Option<ChessStats>,
pub chess_bullet: Option<ChessStats>,
pub chess960_daily: Option<ChessStats>,
pub chess960_rapid: Option<ChessStats>,
pub chess960_blitz: Option<ChessStats>,
pub chess960_bullet: Option<ChessStats>,
pub tactics: Option<TacticsStats>,
pub lessons: Option<LessonsStats>,
pub puzzle_rush: Option<PuzzleRushStats>,
}
Fields§
§chess_daily: Option<ChessStats>
§chess_rapid: Option<ChessStats>
§chess_blitz: Option<ChessStats>
§chess_bullet: Option<ChessStats>
§chess960_daily: Option<ChessStats>
§chess960_rapid: Option<ChessStats>
§chess960_blitz: Option<ChessStats>
§chess960_bullet: Option<ChessStats>
§tactics: Option<TacticsStats>
§lessons: Option<LessonsStats>
§puzzle_rush: Option<PuzzleRushStats>
Implementations§
Source§impl PlayerStats
impl PlayerStats
pub fn new() -> PlayerStats
Trait Implementations§
Source§impl Clone for PlayerStats
impl Clone for PlayerStats
Source§fn clone(&self) -> PlayerStats
fn clone(&self) -> PlayerStats
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 PlayerStats
impl Debug for PlayerStats
Source§impl<'de> Deserialize<'de> for PlayerStats
impl<'de> Deserialize<'de> for PlayerStats
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 PlayerStats
impl PartialEq for PlayerStats
Source§impl Serialize for PlayerStats
impl Serialize for PlayerStats
impl StructuralPartialEq for PlayerStats
Auto Trait Implementations§
impl Freeze for PlayerStats
impl RefUnwindSafe for PlayerStats
impl Send for PlayerStats
impl Sync for PlayerStats
impl Unpin for PlayerStats
impl UnwindSafe for PlayerStats
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