pub enum GameType {
Open,
TwoVTwo,
Adventure,
}Expand description
Game type for game pools within a lobby.
Each lobby can have multiple game pools, one per game type. Players wait in pools for matchmaking. Players join a game pool to find matches for that game type.
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GameType
impl<'de> Deserialize<'de> for GameType
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 Copy for GameType
impl Eq for GameType
impl StructuralPartialEq for GameType
Auto Trait Implementations§
impl Freeze for GameType
impl RefUnwindSafe for GameType
impl Send for GameType
impl Sync for GameType
impl Unpin for GameType
impl UnwindSafe for GameType
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