pub enum DenialReason {
UserDenied,
PolicyDenied,
InvalidRequest,
Other,
}Expand description
The reason that the device denied an authorization request.
Variants§
UserDenied
A user explicitly denied the request.
PolicyDenied
Device policy denied the request.
InvalidRequest
The device considered the request malformed or unsupported.
Other
The device denied the request for another reason.
Trait Implementations§
Source§impl Clone for DenialReason
impl Clone for DenialReason
Source§fn clone(&self) -> DenialReason
fn clone(&self) -> DenialReason
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 DenialReason
Source§impl Debug for DenialReason
impl Debug for DenialReason
Source§impl<'de> Deserialize<'de> for DenialReason
impl<'de> Deserialize<'de> for DenialReason
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 DenialReason
impl Display for DenialReason
impl Eq for DenialReason
Source§impl PartialEq for DenialReason
impl PartialEq for DenialReason
Source§impl Serialize for DenialReason
impl Serialize for DenialReason
impl StructuralPartialEq for DenialReason
Auto Trait Implementations§
impl Freeze for DenialReason
impl RefUnwindSafe for DenialReason
impl Send for DenialReason
impl Sync for DenialReason
impl Unpin for DenialReason
impl UnsafeUnpin for DenialReason
impl UnwindSafe for DenialReason
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