#[non_exhaustive]pub enum RevocationReasonCode {
Unspecified,
KeyCompromise,
CACompromise,
AffiliationChanged,
Superseded,
CessationOfOperation,
PrivilegeWithdrawn,
}
Expand description
See KMIP 1.0 section 9.1.3.2.18 Revocation Reason Code Enumeration.
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.
Unspecified
KeyCompromise
CACompromise
AffiliationChanged
Superseded
CessationOfOperation
PrivilegeWithdrawn
Trait Implementations§
Source§impl Clone for RevocationReasonCode
impl Clone for RevocationReasonCode
Source§fn clone(&self) -> RevocationReasonCode
fn clone(&self) -> RevocationReasonCode
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 RevocationReasonCode
impl Debug for RevocationReasonCode
Source§impl<'de> Deserialize<'de> for RevocationReasonCode
impl<'de> Deserialize<'de> for RevocationReasonCode
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 Display for RevocationReasonCode
impl Display for RevocationReasonCode
Source§impl PartialEq for RevocationReasonCode
impl PartialEq for RevocationReasonCode
Source§impl Serialize for RevocationReasonCode
impl Serialize for RevocationReasonCode
impl Copy for RevocationReasonCode
impl Eq for RevocationReasonCode
impl StructuralPartialEq for RevocationReasonCode
Auto Trait Implementations§
impl Freeze for RevocationReasonCode
impl RefUnwindSafe for RevocationReasonCode
impl Send for RevocationReasonCode
impl Sync for RevocationReasonCode
impl Unpin for RevocationReasonCode
impl UnwindSafe for RevocationReasonCode
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