pub enum AuthRequiredReason {
Required,
Expired,
}Expand description
Reason why authentication is required.
Variants§
Required
The client has not yet authenticated for the resource
Expired
A previously valid token has expired or been revoked
Trait Implementations§
Source§impl Clone for AuthRequiredReason
impl Clone for AuthRequiredReason
Source§fn clone(&self) -> AuthRequiredReason
fn clone(&self) -> AuthRequiredReason
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AuthRequiredReason
Source§impl Debug for AuthRequiredReason
impl Debug for AuthRequiredReason
Source§impl<'de> Deserialize<'de> for AuthRequiredReason
impl<'de> Deserialize<'de> for AuthRequiredReason
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
impl Eq for AuthRequiredReason
Source§impl Hash for AuthRequiredReason
impl Hash for AuthRequiredReason
Source§impl PartialEq for AuthRequiredReason
impl PartialEq for AuthRequiredReason
Source§fn eq(&self, other: &AuthRequiredReason) -> bool
fn eq(&self, other: &AuthRequiredReason) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AuthRequiredReason
impl Serialize for AuthRequiredReason
impl StructuralPartialEq for AuthRequiredReason
Auto Trait Implementations§
impl Freeze for AuthRequiredReason
impl RefUnwindSafe for AuthRequiredReason
impl Send for AuthRequiredReason
impl Sync for AuthRequiredReason
impl Unpin for AuthRequiredReason
impl UnsafeUnpin for AuthRequiredReason
impl UnwindSafe for AuthRequiredReason
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