pub enum ChangeKind {
Lifecycle,
Superseded,
KeyRevocation,
}Expand description
What a change entry records (RFC-ACDP-0018 §3). Closed in
acdp-change/1: a new kind needs acdp-change/2.
Variants§
Lifecycle
A lifecycle event was appended to the affected context.
Superseded
A newer version superseding the affected context was accepted.
KeyRevocation
A key-revocation context (the affected context) was accepted.
Implementations§
Source§impl ChangeKind
impl ChangeKind
Sourcepub const ALL: [ChangeKind; 3]
pub const ALL: [ChangeKind; 3]
Every kind, in wire order.
Trait Implementations§
Source§impl Clone for ChangeKind
impl Clone for ChangeKind
impl Copy for ChangeKind
Source§impl Debug for ChangeKind
impl Debug for ChangeKind
Source§impl<'de> Deserialize<'de> for ChangeKind
impl<'de> Deserialize<'de> for ChangeKind
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 ChangeKind
impl Display for ChangeKind
impl Eq for ChangeKind
Source§impl Hash for ChangeKind
impl Hash for ChangeKind
Source§impl Ord for ChangeKind
impl Ord for ChangeKind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ChangeKind
impl PartialEq for ChangeKind
Source§impl PartialOrd for ChangeKind
impl PartialOrd for ChangeKind
Source§impl Serialize for ChangeKind
impl Serialize for ChangeKind
impl StructuralPartialEq for ChangeKind
Auto Trait Implementations§
impl Freeze for ChangeKind
impl RefUnwindSafe for ChangeKind
impl Send for ChangeKind
impl Sync for ChangeKind
impl Unpin for ChangeKind
impl UnsafeUnpin for ChangeKind
impl UnwindSafe for ChangeKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.