#[non_exhaustive]pub struct LichessPerfs {Show 18 fields
pub chess960: Option<LichessPerf>,
pub atomic: Option<LichessPerf>,
pub racing_kings: Option<LichessPerf>,
pub ultra_bullet: Option<LichessPerf>,
pub blitz: Option<LichessPerf>,
pub king_of_the_hill: Option<LichessPerf>,
pub three_check: Option<LichessPerf>,
pub antichess: Option<LichessPerf>,
pub crazyhouse: Option<LichessPerf>,
pub bullet: Option<LichessPerf>,
pub correspondence: Option<LichessPerf>,
pub horde: Option<LichessPerf>,
pub puzzle: Option<LichessPerf>,
pub classical: Option<LichessPerf>,
pub rapid: Option<LichessPerf>,
pub storm: Option<LichessPuzzleModePerf>,
pub racer: Option<LichessPuzzleModePerf>,
pub streak: Option<LichessPuzzleModePerf>,
}Expand description
A player’s performance across every perf. All fields are optional because a perf only appears once the player has activity in it.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.chess960: Option<LichessPerf>Chess960.
atomic: Option<LichessPerf>Atomic.
racing_kings: Option<LichessPerf>Racing Kings.
ultra_bullet: Option<LichessPerf>Ultra-bullet.
blitz: Option<LichessPerf>Blitz.
king_of_the_hill: Option<LichessPerf>King of the Hill.
three_check: Option<LichessPerf>Three-check.
antichess: Option<LichessPerf>Antichess.
crazyhouse: Option<LichessPerf>Crazyhouse.
bullet: Option<LichessPerf>Bullet.
correspondence: Option<LichessPerf>Correspondence.
horde: Option<LichessPerf>Horde.
puzzle: Option<LichessPerf>Puzzles.
classical: Option<LichessPerf>Classical.
rapid: Option<LichessPerf>Rapid.
storm: Option<LichessPuzzleModePerf>Puzzle Storm.
racer: Option<LichessPuzzleModePerf>Puzzle Racer.
streak: Option<LichessPuzzleModePerf>Puzzle Streak.
Trait Implementations§
Source§impl Clone for LichessPerfs
impl Clone for LichessPerfs
Source§fn clone(&self) -> LichessPerfs
fn clone(&self) -> LichessPerfs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LichessPerfs
impl Debug for LichessPerfs
Source§impl Default for LichessPerfs
impl Default for LichessPerfs
Source§fn default() -> LichessPerfs
fn default() -> LichessPerfs
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LichessPerfs
impl<'de> Deserialize<'de> for LichessPerfs
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
impl Eq for LichessPerfs
Source§impl PartialEq for LichessPerfs
impl PartialEq for LichessPerfs
Source§impl Serialize for LichessPerfs
impl Serialize for LichessPerfs
impl StructuralPartialEq for LichessPerfs
Auto Trait Implementations§
impl Freeze for LichessPerfs
impl RefUnwindSafe for LichessPerfs
impl Send for LichessPerfs
impl Sync for LichessPerfs
impl Unpin for LichessPerfs
impl UnsafeUnpin for LichessPerfs
impl UnwindSafe for LichessPerfs
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.