pub struct RevocationReason(pub RevocationReasonCode, pub Option<RevocationMessage>);
Expand description
See KMIP 1.0 section 3.26 Revocation Reason.
Tuple Fields§
§0: RevocationReasonCode
§1: Option<RevocationMessage>
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 PartialEq for RevocationReason
impl PartialEq for RevocationReason
Source§impl Serialize for RevocationReason
impl Serialize 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<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