Struct lichess_api::model::games::GameStream
source · pub struct GameStream {
pub id: String,
pub rated: bool,
pub variant: VariantKey,
pub speed: Speed,
pub perf: String,
pub created_at: u64,
pub status: u32,
pub status_name: GameStatus,
pub players: Players,
pub clock: Option<Clock>,
}Fields§
§id: String§rated: bool§variant: VariantKey§speed: Speed§perf: String§created_at: u64§status: u32§status_name: GameStatus§players: Players§clock: Option<Clock>Trait Implementations§
source§impl Clone for GameStream
impl Clone for GameStream
source§fn clone(&self) -> GameStream
fn clone(&self) -> GameStream
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 GameStream
impl Debug for GameStream
source§impl<'de> Deserialize<'de> for GameStream
impl<'de> Deserialize<'de> for GameStream
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 GameStream
impl Send for GameStream
impl Sync for GameStream
impl Unpin for GameStream
impl UnwindSafe for GameStream
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