pub struct GameType(_, _, _);Implementations
sourceimpl GameType
impl GameType
pub const fn new(name: &'static str, db_name: &'static str, id: i64) -> GameType
pub fn name(&self) -> String
pub fn db_name(&self) -> String
pub fn id(&self) -> i64
pub const QUAKECRAFT: GameType = _
pub const WALLS: GameType = _
pub const PAINTBALL: GameType = _
pub const SURVIVAL_GAMES: GameType = _
pub const TNTGAMES: GameType = _
pub const VAMPIREZ: GameType = _
pub const WALLS3: GameType = _
pub const ARCADE: GameType = _
pub const ARENA: GameType = _
pub const MCGO: GameType = _
pub const UHC: GameType = _
pub const BATTLEGROUND: GameType = _
pub const SUPER_SMASH: GameType = _
pub const GINGERBREAD: GameType = _
pub const HOUSING: GameType = _
pub const SKYWARS: GameType = _
pub const TRUE_COMBAT: GameType = _
pub const SPEED_UHC: GameType = _
pub const SKYCLASH: GameType = _
pub const LEGACY: GameType = _
pub const PROTOTYPE: GameType = _
pub const BEDWARS: GameType = _
pub const MURDER_MYSTERY: GameType = _
pub const BUILD_BATTLE: GameType = _
pub const DUELS: GameType = _
pub const SKYBLOCK: GameType = _
pub const PIT: GameType = _
pub const REPLAY: GameType = _
pub const SMP: GameType = _
pub const WOOL_GAMES: GameType = _
pub const UNKNOWN: GameType = _
Trait Implementations
sourceimpl<'de> Deserialize<'de> for GameType
impl<'de> Deserialize<'de> for GameType
sourcefn 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 StructuralEq for GameType
impl StructuralPartialEq for GameType
Auto Trait Implementations
impl RefUnwindSafe for GameType
impl Send for GameType
impl Sync for GameType
impl Unpin for GameType
impl UnwindSafe for GameType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more