pub struct ChessStatsRecord {
pub win: i32,
pub loss: i32,
pub draw: i32,
pub time_per_move: Option<i32>,
pub timeout_percent: Option<f32>,
}
Expand description
Summary of all games played
Fields§
§win: i32
Number of games won
loss: i32
Number of games lost
draw: i32
Number of games drawn
time_per_move: Option<i32>
Number of seconds per average move
timeout_percent: Option<f32>
Timeout percentage in the last 90 days
Implementations§
Trait Implementations§
Source§impl Clone for ChessStatsRecord
impl Clone for ChessStatsRecord
Source§fn clone(&self) -> ChessStatsRecord
fn clone(&self) -> ChessStatsRecord
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 ChessStatsRecord
impl Debug for ChessStatsRecord
Source§impl<'de> Deserialize<'de> for ChessStatsRecord
impl<'de> Deserialize<'de> for ChessStatsRecord
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 ChessStatsRecord
impl PartialEq for ChessStatsRecord
Source§impl Serialize for ChessStatsRecord
impl Serialize for ChessStatsRecord
impl StructuralPartialEq for ChessStatsRecord
Auto Trait Implementations§
impl Freeze for ChessStatsRecord
impl RefUnwindSafe for ChessStatsRecord
impl Send for ChessStatsRecord
impl Sync for ChessStatsRecord
impl Unpin for ChessStatsRecord
impl UnwindSafe for ChessStatsRecord
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