pub enum AuthDenyReason {
Standard(AuthDenyCode),
Custom(AuthDenyKey),
}Expand description
Describes why authentication is denied.
Variants§
Standard(AuthDenyCode)
Shared denial reason across all apps.
Custom(AuthDenyKey)
Application-defined denial reason represented by a stable domain code.
Implementations§
Trait Implementations§
Source§impl Clone for AuthDenyReason
impl Clone for AuthDenyReason
Source§impl Debug for AuthDenyReason
impl Debug for AuthDenyReason
Source§impl<'de> Deserialize<'de> for AuthDenyReason
impl<'de> Deserialize<'de> for AuthDenyReason
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 AuthDenyReason
Source§impl PartialEq for AuthDenyReason
impl PartialEq for AuthDenyReason
Source§impl Serialize for AuthDenyReason
impl Serialize for AuthDenyReason
impl StructuralPartialEq for AuthDenyReason
Auto Trait Implementations§
impl Freeze for AuthDenyReason
impl RefUnwindSafe for AuthDenyReason
impl Send for AuthDenyReason
impl Sync for AuthDenyReason
impl Unpin for AuthDenyReason
impl UnsafeUnpin for AuthDenyReason
impl UnwindSafe for AuthDenyReason
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