pub struct LobbyInfo {
pub lobby_id: String,
pub player_count: usize,
pub max_players: usize,
}Expand description
A lobby visible in the lobby browser.
Fields§
§lobby_id: String§player_count: usize§max_players: usizeTrait Implementations§
Source§impl<'de> Deserialize<'de> for LobbyInfo
impl<'de> Deserialize<'de> for LobbyInfo
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
impl StructuralPartialEq for LobbyInfo
Auto Trait Implementations§
impl Freeze for LobbyInfo
impl RefUnwindSafe for LobbyInfo
impl Send for LobbyInfo
impl Sync for LobbyInfo
impl Unpin for LobbyInfo
impl UnsafeUnpin for LobbyInfo
impl UnwindSafe for LobbyInfo
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