pub struct Move {
pub uci: String,
pub san: String,
pub category: Category,
pub dtz: Option<i32>,
pub precise_dtz: Option<i32>,
pub dtm: Option<i32>,
pub zeroing: bool,
pub checkmate: bool,
pub stalemate: bool,
pub variant_win: bool,
pub variant_loss: bool,
pub insufficient_material: bool,
}Fields§
§uci: String§san: String§category: Category§dtz: Option<i32>§precise_dtz: Option<i32>§dtm: Option<i32>§zeroing: bool§checkmate: bool§stalemate: bool§variant_win: bool§variant_loss: bool§insufficient_material: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for Move
impl<'de> Deserialize<'de> for Move
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 Freeze for Move
impl RefUnwindSafe for Move
impl Send for Move
impl Sync for Move
impl Unpin for Move
impl UnwindSafe for Move
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