Struct lichess_api::model::tablebase::TablebaseJson
source · pub struct TablebaseJson {
pub category: Category,
pub dtz: Option<i32>,
pub precise_dtz: Option<i32>,
pub dtm: Option<i32>,
pub checkmate: bool,
pub stalemate: bool,
pub variant_win: bool,
pub variant_loss: bool,
pub insufficient_material: bool,
pub moves: Vec<Move>,
}Fields§
§category: Category§dtz: Option<i32>§precise_dtz: Option<i32>§dtm: Option<i32>§checkmate: bool§stalemate: bool§variant_win: bool§variant_loss: bool§insufficient_material: bool§moves: Vec<Move>Trait Implementations§
source§impl Clone for TablebaseJson
impl Clone for TablebaseJson
source§fn clone(&self) -> TablebaseJson
fn clone(&self) -> TablebaseJson
Returns a copy 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 TablebaseJson
impl Debug for TablebaseJson
source§impl<'de> Deserialize<'de> for TablebaseJson
impl<'de> Deserialize<'de> for TablebaseJson
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
Auto Trait Implementations§
impl RefUnwindSafe for TablebaseJson
impl Send for TablebaseJson
impl Sync for TablebaseJson
impl Unpin for TablebaseJson
impl UnwindSafe for TablebaseJson
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