pub enum AuthReceiptOutcome {
Authorized,
CredentialUnavailable,
Expired,
Revoked,
ScopeInsufficient,
Cancelled,
}Expand description
Terminal authorization outcome of one auth check, as durable evidence.
Variants§
Authorized
The account was authorized for the requested profile/model.
The required credential could not be resolved.
Expired
The token is expired and cannot be refreshed.
Revoked
The account’s token was revoked.
ScopeInsufficient
The claimed scopes are insufficient for the requested route.
Cancelled
Cooperative cancellation interrupted the auth check.
Trait Implementations§
Source§impl Clone for AuthReceiptOutcome
impl Clone for AuthReceiptOutcome
Source§fn clone(&self) -> AuthReceiptOutcome
fn clone(&self) -> AuthReceiptOutcome
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 AuthReceiptOutcome
Source§impl Debug for AuthReceiptOutcome
impl Debug for AuthReceiptOutcome
Source§impl<'de> Deserialize<'de> for AuthReceiptOutcome
impl<'de> Deserialize<'de> for AuthReceiptOutcome
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 AuthReceiptOutcome
Source§impl Ord for AuthReceiptOutcome
impl Ord for AuthReceiptOutcome
Source§fn cmp(&self, other: &AuthReceiptOutcome) -> Ordering
fn cmp(&self, other: &AuthReceiptOutcome) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AuthReceiptOutcome
impl PartialEq for AuthReceiptOutcome
Source§impl PartialOrd for AuthReceiptOutcome
impl PartialOrd for AuthReceiptOutcome
Source§impl Serialize for AuthReceiptOutcome
impl Serialize for AuthReceiptOutcome
impl StructuralPartialEq for AuthReceiptOutcome
Auto Trait Implementations§
impl Freeze for AuthReceiptOutcome
impl RefUnwindSafe for AuthReceiptOutcome
impl Send for AuthReceiptOutcome
impl Sync for AuthReceiptOutcome
impl Unpin for AuthReceiptOutcome
impl UnsafeUnpin for AuthReceiptOutcome
impl UnwindSafe for AuthReceiptOutcome
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