pub struct GameFull {
pub id: String,
pub variant: Variant,
pub rated: bool,
pub clock: Option<Clock>,
pub speed: Speed,
pub perf: Perf,
pub created_at: u64,
pub white: GameEventPlayer,
pub black: GameEventPlayer,
pub initial_fen: Option<String>,
pub state: Option<GameState>,
pub tournament_id: Option<String>,
}Fields§
§id: String§variant: Variant§rated: bool§clock: Option<Clock>§speed: Speed§perf: Perf§created_at: u64§white: GameEventPlayer§black: GameEventPlayer§initial_fen: Option<String>§state: Option<GameState>§tournament_id: Option<String>Trait Implementations§
source§impl<'de> Deserialize<'de> for GameFull
impl<'de> Deserialize<'de> for GameFull
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 GameFull
impl Send for GameFull
impl Sync for GameFull
impl Unpin for GameFull
impl UnwindSafe for GameFull
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