pub enum TachyonCommandSubtype81Reason {
NotInLobby,
NoBattle,
BattleFull,
InternalError,
Unauthorized,
InvalidRequest,
CommandUnimplemented,
}Expand description
TachyonCommandSubtype81Reason
JSON schema
{
"enum": [
"not_in_lobby",
"no_battle",
"battle_full",
"internal_error",
"unauthorized",
"invalid_request",
"command_unimplemented"
]
}Variants§
Trait Implementations§
Source§impl Clone for TachyonCommandSubtype81Reason
impl Clone for TachyonCommandSubtype81Reason
Source§fn clone(&self) -> TachyonCommandSubtype81Reason
fn clone(&self) -> TachyonCommandSubtype81Reason
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<'de> Deserialize<'de> for TachyonCommandSubtype81Reason
impl<'de> Deserialize<'de> for TachyonCommandSubtype81Reason
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
Source§impl Hash for TachyonCommandSubtype81Reason
impl Hash for TachyonCommandSubtype81Reason
Source§impl Ord for TachyonCommandSubtype81Reason
impl Ord for TachyonCommandSubtype81Reason
Source§fn cmp(&self, other: &TachyonCommandSubtype81Reason) -> Ordering
fn cmp(&self, other: &TachyonCommandSubtype81Reason) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TachyonCommandSubtype81Reason
impl PartialEq for TachyonCommandSubtype81Reason
Source§fn eq(&self, other: &TachyonCommandSubtype81Reason) -> bool
fn eq(&self, other: &TachyonCommandSubtype81Reason) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for TachyonCommandSubtype81Reason
impl PartialOrd for TachyonCommandSubtype81Reason
Source§impl TryFrom<&String> for TachyonCommandSubtype81Reason
impl TryFrom<&String> for TachyonCommandSubtype81Reason
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for TachyonCommandSubtype81Reason
impl TryFrom<&str> for TachyonCommandSubtype81Reason
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for TachyonCommandSubtype81Reason
impl TryFrom<String> for TachyonCommandSubtype81Reason
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl Copy for TachyonCommandSubtype81Reason
impl Eq for TachyonCommandSubtype81Reason
impl StructuralPartialEq for TachyonCommandSubtype81Reason
Auto Trait Implementations§
impl Freeze for TachyonCommandSubtype81Reason
impl RefUnwindSafe for TachyonCommandSubtype81Reason
impl Send for TachyonCommandSubtype81Reason
impl Sync for TachyonCommandSubtype81Reason
impl Unpin for TachyonCommandSubtype81Reason
impl UnsafeUnpin for TachyonCommandSubtype81Reason
impl UnwindSafe for TachyonCommandSubtype81Reason
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