pub enum IdentityStatus {
VerifiedHuman,
AuthorizedAgent,
Expired,
Revoked,
ScopeDenied,
ConstraintDenied,
ConstraintUnverifiable,
ConstraintUnknown,
DelegationNotAuthorized,
Invalid,
Unauthorized,
}Expand description
Identity status values in a VerifyResult (SPEC §5.9). Granular failure statuses (scope_denied, constraint_denied, etc) let callers route on the enum directly — they do not have to parse error_reason text.
Variants§
VerifiedHuman
AuthorizedAgent
Expired
Revoked
ScopeDenied
ConstraintDenied
ConstraintUnverifiable
ConstraintUnknown
DelegationNotAuthorized
Invalid
Implementations§
Trait Implementations§
Source§impl Clone for IdentityStatus
impl Clone for IdentityStatus
Source§fn clone(&self) -> IdentityStatus
fn clone(&self) -> IdentityStatus
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 moreSource§impl Debug for IdentityStatus
impl Debug for IdentityStatus
Source§impl<'de> Deserialize<'de> for IdentityStatus
impl<'de> Deserialize<'de> for IdentityStatus
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 IdentityStatus
impl PartialEq for IdentityStatus
Source§fn eq(&self, other: &IdentityStatus) -> bool
fn eq(&self, other: &IdentityStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for IdentityStatus
impl Serialize for IdentityStatus
impl Eq for IdentityStatus
impl StructuralPartialEq for IdentityStatus
Auto Trait Implementations§
impl Freeze for IdentityStatus
impl RefUnwindSafe for IdentityStatus
impl Send for IdentityStatus
impl Sync for IdentityStatus
impl Unpin for IdentityStatus
impl UnsafeUnpin for IdentityStatus
impl UnwindSafe for IdentityStatus
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