#[repr(u8)]pub enum RevocationStatus {
Active = 0,
Suspended = 1,
Revoked = 2,
Superseded = 3,
Expired = 4,
}Expand description
Revocation status for credentials
Variants§
Active = 0
Credential is active and valid
Suspended = 1
Credential is suspended (can be reactivated)
Revoked = 2
Credential is revoked (permanent)
Superseded = 3
Credential is superseded by a newer version
Expired = 4
Credential has expired
Implementations§
Trait Implementations§
Source§impl Clone for RevocationStatus
impl Clone for RevocationStatus
Source§fn clone(&self) -> RevocationStatus
fn clone(&self) -> RevocationStatus
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 RevocationStatus
impl Debug for RevocationStatus
Source§impl<'de> Deserialize<'de> for RevocationStatus
impl<'de> Deserialize<'de> for RevocationStatus
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 RevocationStatus
impl PartialEq for RevocationStatus
Source§fn eq(&self, other: &RevocationStatus) -> bool
fn eq(&self, other: &RevocationStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RevocationStatus
impl Serialize for RevocationStatus
impl Copy for RevocationStatus
impl Eq for RevocationStatus
impl StructuralPartialEq for RevocationStatus
Auto Trait Implementations§
impl Freeze for RevocationStatus
impl RefUnwindSafe for RevocationStatus
impl Send for RevocationStatus
impl Sync for RevocationStatus
impl Unpin for RevocationStatus
impl UnsafeUnpin for RevocationStatus
impl UnwindSafe for RevocationStatus
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