pub enum PlayerLeftUpdateReason {
LostConnection,
Left,
Kicked,
}Expand description
PlayerLeftUpdateReason
JSON schema
{
"enum": [
"lost_connection",
"left",
"kicked"
]
}Variants§
Trait Implementations§
Source§impl Clone for PlayerLeftUpdateReason
impl Clone for PlayerLeftUpdateReason
Source§fn clone(&self) -> PlayerLeftUpdateReason
fn clone(&self) -> PlayerLeftUpdateReason
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 Debug for PlayerLeftUpdateReason
impl Debug for PlayerLeftUpdateReason
Source§impl<'de> Deserialize<'de> for PlayerLeftUpdateReason
impl<'de> Deserialize<'de> for PlayerLeftUpdateReason
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 Display for PlayerLeftUpdateReason
impl Display for PlayerLeftUpdateReason
Source§impl FromStr for PlayerLeftUpdateReason
impl FromStr for PlayerLeftUpdateReason
Source§impl Hash for PlayerLeftUpdateReason
impl Hash for PlayerLeftUpdateReason
Source§impl Ord for PlayerLeftUpdateReason
impl Ord for PlayerLeftUpdateReason
Source§fn cmp(&self, other: &PlayerLeftUpdateReason) -> Ordering
fn cmp(&self, other: &PlayerLeftUpdateReason) -> 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 PlayerLeftUpdateReason
impl PartialEq for PlayerLeftUpdateReason
Source§impl PartialOrd for PlayerLeftUpdateReason
impl PartialOrd for PlayerLeftUpdateReason
Source§impl Serialize for PlayerLeftUpdateReason
impl Serialize for PlayerLeftUpdateReason
Source§impl TryFrom<&String> for PlayerLeftUpdateReason
impl TryFrom<&String> for PlayerLeftUpdateReason
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for PlayerLeftUpdateReason
impl TryFrom<&str> for PlayerLeftUpdateReason
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for PlayerLeftUpdateReason
impl TryFrom<String> for PlayerLeftUpdateReason
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl Copy for PlayerLeftUpdateReason
impl Eq for PlayerLeftUpdateReason
impl StructuralPartialEq for PlayerLeftUpdateReason
Auto Trait Implementations§
impl Freeze for PlayerLeftUpdateReason
impl RefUnwindSafe for PlayerLeftUpdateReason
impl Send for PlayerLeftUpdateReason
impl Sync for PlayerLeftUpdateReason
impl Unpin for PlayerLeftUpdateReason
impl UnsafeUnpin for PlayerLeftUpdateReason
impl UnwindSafe for PlayerLeftUpdateReason
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