#[repr(C)]pub enum PlayerNameStatus {
Updated = 0,
Taken = 1,
Invalid = 2,
}Expand description
The player’s name status returned when updating their name
Variants§
Updated = 0
The name has successfully been updated
Taken = 1
The name is already taken by another player
Invalid = 2
The name is invalid
Trait Implementations§
Source§impl Clone for PlayerNameStatus
impl Clone for PlayerNameStatus
Source§fn clone(&self) -> PlayerNameStatus
fn clone(&self) -> PlayerNameStatus
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 PlayerNameStatus
impl Debug for PlayerNameStatus
Source§impl From<i32> for PlayerNameStatus
impl From<i32> for PlayerNameStatus
Source§impl PartialEq for PlayerNameStatus
impl PartialEq for PlayerNameStatus
impl Copy for PlayerNameStatus
impl StructuralPartialEq for PlayerNameStatus
Auto Trait Implementations§
impl Freeze for PlayerNameStatus
impl RefUnwindSafe for PlayerNameStatus
impl Send for PlayerNameStatus
impl Sync for PlayerNameStatus
impl Unpin for PlayerNameStatus
impl UnwindSafe for PlayerNameStatus
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