pub struct KeyVersion(/* private fields */);Expand description
Identifier of the key version that produced a LookupKey. Stored beside
every lookup key (RFC-004 §12.2). Not secret.
Implementations§
Trait Implementations§
Source§impl Clone for KeyVersion
impl Clone for KeyVersion
Source§fn clone(&self) -> KeyVersion
fn clone(&self) -> KeyVersion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 KeyVersion
impl Debug for KeyVersion
Source§impl Display for KeyVersion
impl Display for KeyVersion
impl Eq for KeyVersion
Source§impl Hash for KeyVersion
impl Hash for KeyVersion
Source§impl PartialEq for KeyVersion
impl PartialEq for KeyVersion
Source§fn eq(&self, other: &KeyVersion) -> bool
fn eq(&self, other: &KeyVersion) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for KeyVersion
Auto Trait Implementations§
impl Freeze for KeyVersion
impl RefUnwindSafe for KeyVersion
impl Send for KeyVersion
impl Sync for KeyVersion
impl Unpin for KeyVersion
impl UnsafeUnpin for KeyVersion
impl UnwindSafe for KeyVersion
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