#[non_exhaustive]pub enum RevocationReason {
KeyCompromise,
CessationOfOperation,
AffiliationChanged,
Superseded,
CertificateHold,
PrivilegeWithdrawn,
AaCompromise,
}Expand description
Revocation reason (RFC 5280).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
KeyCompromise
Private key compromised.
CessationOfOperation
Agent decommissioned.
AffiliationChanged
Affiliation changed.
Superseded
Superseded by new certificate.
CertificateHold
Temporarily on hold.
PrivilegeWithdrawn
Privileges withdrawn.
AaCompromise
AA compromised.
Trait Implementations§
Source§impl Clone for RevocationReason
impl Clone for RevocationReason
Source§fn clone(&self) -> RevocationReason
fn clone(&self) -> RevocationReason
Returns a duplicate of the value. Read more
1.0.0 · 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 RevocationReason
impl Debug for RevocationReason
Source§impl<'de> Deserialize<'de> for RevocationReason
impl<'de> Deserialize<'de> for RevocationReason
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 RevocationReason
impl PartialEq for RevocationReason
Source§impl Serialize for RevocationReason
impl Serialize for RevocationReason
impl Copy for RevocationReason
impl Eq for RevocationReason
impl StructuralPartialEq for RevocationReason
Auto Trait Implementations§
impl Freeze for RevocationReason
impl RefUnwindSafe for RevocationReason
impl Send for RevocationReason
impl Sync for RevocationReason
impl Unpin for RevocationReason
impl UnsafeUnpin for RevocationReason
impl UnwindSafe for RevocationReason
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