pub enum DebugBackendGameState {
Found {
game_id: String,
player_in_session_players: bool,
spectator_in_session: bool,
session_player_ids: Vec<i64>,
session_spectator_ids: Vec<i64>,
lobby_id: String,
},
Error {
error: String,
},
}Expand description
Backend game state in debug state response.
Variants§
Trait Implementations§
Source§impl Clone for DebugBackendGameState
impl Clone for DebugBackendGameState
Source§fn clone(&self) -> DebugBackendGameState
fn clone(&self) -> DebugBackendGameState
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 DebugBackendGameState
impl Debug for DebugBackendGameState
Source§impl<'de> Deserialize<'de> for DebugBackendGameState
impl<'de> Deserialize<'de> for DebugBackendGameState
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 DebugBackendGameState
impl RefUnwindSafe for DebugBackendGameState
impl Send for DebugBackendGameState
impl Sync for DebugBackendGameState
impl Unpin for DebugBackendGameState
impl UnwindSafe for DebugBackendGameState
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