pub enum IdentityStatus {
VerifiedHuman,
AuthorizedAgent,
Expired,
Revoked,
ScopeDenied,
ConstraintDenied,
ConstraintUnverifiable,
ConstraintUnknown,
DelegationNotAuthorized,
InvalidScope,
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
InvalidScope
A cert in the chain grants a scope that is not canonical, not a
wildcard, and not a custom: extension (SPEC §9). Fail-closed —
vocabulary outside the protocol is rejected as malformed rather than
silently intersected.
Invalid
Implementations§
Trait Implementations§
Source§impl Clone for IdentityStatus
impl Clone for IdentityStatus
Source§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
impl Eq for IdentityStatus
Source§impl PartialEq for IdentityStatus
impl PartialEq for IdentityStatus
Source§impl Serialize for IdentityStatus
impl Serialize for IdentityStatus
impl StructuralPartialEq for IdentityStatus
Auto Trait Implementations§
impl Forget for IdentityStatus
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