Enum rcgen::RevocationReason
source · pub enum RevocationReason {
Unspecified = 0,
KeyCompromise = 1,
CaCompromise = 2,
AffiliationChanged = 3,
Superseded = 4,
CessationOfOperation = 5,
CertificateHold = 6,
RemoveFromCrl = 8,
PrivilegeWithdrawn = 9,
AaCompromise = 10,
}
Expand description
Identifies the reason a certificate was revoked. See RFC 5280 §5.3.11
Variants§
Unspecified = 0
KeyCompromise = 1
CaCompromise = 2
AffiliationChanged = 3
Superseded = 4
CessationOfOperation = 5
CertificateHold = 6
RemoveFromCrl = 8
PrivilegeWithdrawn = 9
AaCompromise = 10
Trait Implementations§
source§impl Clone for RevocationReason
impl Clone for RevocationReason
source§fn clone(&self) -> RevocationReason
fn clone(&self) -> RevocationReason
Returns a copy 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 PartialEq for RevocationReason
impl PartialEq for RevocationReason
source§fn eq(&self, other: &RevocationReason) -> bool
fn eq(&self, other: &RevocationReason) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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 UnwindSafe for RevocationReason
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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