pub struct GameFullEvent {
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<GameStateEvent>,
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<GameStateEvent>§tournament_id: Option<String>Trait Implementations§
Source§impl Clone for GameFullEvent
impl Clone for GameFullEvent
Source§fn clone(&self) -> GameFullEvent
fn clone(&self) -> GameFullEvent
Returns a duplicate 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 GameFullEvent
impl Debug for GameFullEvent
Source§impl<'de> Deserialize<'de> for GameFullEvent
impl<'de> Deserialize<'de> for GameFullEvent
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 GameFullEvent
impl RefUnwindSafe for GameFullEvent
impl Send for GameFullEvent
impl Sync for GameFullEvent
impl Unpin for GameFullEvent
impl UnwindSafe for GameFullEvent
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