pub struct GameType(/* private fields */);Implementations§
Source§impl GameType
impl GameType
pub const QUAKECRAFT: Self
pub const WALLS: Self
pub const PAINTBALL: Self
pub const SURVIVAL_GAMES: Self
pub const TNTGAMES: Self
pub const VAMPIREZ: Self
pub const WALLS3: Self
pub const ARCADE: Self
pub const ARENA: Self
pub const MCGO: Self
pub const UHC: Self
pub const BATTLEGROUND: Self
pub const SUPER_SMASH: Self
pub const GINGERBREAD: Self
pub const HOUSING: Self
pub const SKYWARS: Self
pub const TRUE_COMBAT: Self
pub const SPEED_UHC: Self
pub const SKYCLASH: Self
pub const LEGACY: Self
pub const PROTOTYPE: Self
pub const BEDWARS: Self
pub const MURDER_MYSTERY: Self
pub const BUILD_BATTLE: Self
pub const DUELS: Self
pub const SKYBLOCK: Self
pub const PIT: Self
pub const REPLAY: Self
pub const SMP: Self
pub const WOOL_GAMES: Self
pub const UNKNOWN: Self
pub fn name(&self) -> String
pub fn db_name(&self) -> String
pub fn id(&self) -> i64
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 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