Struct lichess_api::model::games::GameJson
source · pub struct GameJson {Show 17 fields
pub id: String,
pub rated: bool,
pub variant: Variant,
pub speed: Speed,
pub perf: String,
pub created_at: u64,
pub last_move_at: Option<u64>,
pub status: GameStatusJson,
pub players: Option<Players>,
pub player: Option<String>,
pub opening: Option<Opening>,
pub moves: Option<String>,
pub clock: Option<Clock>,
pub winner: Option<String>,
pub fen: Option<String>,
pub turns: Option<u32>,
pub source: Option<String>,
}Fields§
§id: String§rated: bool§variant: Variant§speed: Speed§perf: String§created_at: u64§last_move_at: Option<u64>§status: GameStatusJson§players: Option<Players>§player: Option<String>§opening: Option<Opening>§moves: Option<String>§clock: Option<Clock>§winner: Option<String>§fen: Option<String>§turns: Option<u32>§source: Option<String>Trait Implementations§
source§impl<'de> Deserialize<'de> for GameJson
impl<'de> Deserialize<'de> for GameJson
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 GameJson
impl Send for GameJson
impl Sync for GameJson
impl Unpin for GameJson
impl UnwindSafe for GameJson
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