pub enum AuthenticationStatus {
Unauthenticated,
Authenticating,
Authenticated,
AuthenticationFailed,
}Expand description
Authentication status of a player.
Variants§
Unauthenticated
Player is not authenticated
Authenticating
Player is in the process of authenticating
Authenticated
Player is successfully authenticated
AuthenticationFailed
Player authentication failed
Trait Implementations§
Source§impl Clone for AuthenticationStatus
impl Clone for AuthenticationStatus
Source§fn clone(&self) -> AuthenticationStatus
fn clone(&self) -> AuthenticationStatus
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 AuthenticationStatus
impl Debug for AuthenticationStatus
Source§impl Default for AuthenticationStatus
impl Default for AuthenticationStatus
Source§fn default() -> AuthenticationStatus
fn default() -> AuthenticationStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuthenticationStatus
impl<'de> Deserialize<'de> for AuthenticationStatus
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 PartialEq for AuthenticationStatus
impl PartialEq for AuthenticationStatus
Source§impl Serialize for AuthenticationStatus
impl Serialize for AuthenticationStatus
impl Copy for AuthenticationStatus
impl Eq for AuthenticationStatus
impl StructuralPartialEq for AuthenticationStatus
Auto Trait Implementations§
impl Freeze for AuthenticationStatus
impl RefUnwindSafe for AuthenticationStatus
impl Send for AuthenticationStatus
impl Sync for AuthenticationStatus
impl Unpin for AuthenticationStatus
impl UnwindSafe for AuthenticationStatus
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