pub enum DebugLobbyState {
Found {
lobby_id: String,
player_in_lobby: bool,
lobby_player_ids: Vec<i64>,
active_game_id: Option<String>,
},
Error {
error: String,
},
}Expand description
Lobby state in debug state response.
Variants§
Trait Implementations§
Source§impl Clone for DebugLobbyState
impl Clone for DebugLobbyState
Source§fn clone(&self) -> DebugLobbyState
fn clone(&self) -> DebugLobbyState
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 DebugLobbyState
impl Debug for DebugLobbyState
Source§impl<'de> Deserialize<'de> for DebugLobbyState
impl<'de> Deserialize<'de> for DebugLobbyState
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 DebugLobbyState
impl RefUnwindSafe for DebugLobbyState
impl Send for DebugLobbyState
impl Sync for DebugLobbyState
impl Unpin for DebugLobbyState
impl UnwindSafe for DebugLobbyState
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