#[repr(u16)]pub enum SigningKeyVersion {
Latest = 0,
V1 = 1,
}Variants§
Trait Implementations§
Source§impl Clone for SigningKeyVersion
impl Clone for SigningKeyVersion
Source§fn clone(&self) -> SigningKeyVersion
fn clone(&self) -> SigningKeyVersion
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 SigningKeyVersion
impl Debug for SigningKeyVersion
Source§impl Default for SigningKeyVersion
impl Default for SigningKeyVersion
Source§impl From<SigningKeyVersion> for u16
impl From<SigningKeyVersion> for u16
Source§fn from(enum_value: SigningKeyVersion) -> Self
fn from(enum_value: SigningKeyVersion) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SigningKeyVersion
impl PartialEq for SigningKeyVersion
Source§impl TryFrom<u16> for SigningKeyVersion
impl TryFrom<u16> for SigningKeyVersion
Source§type Error = TryFromPrimitiveError<SigningKeyVersion>
type Error = TryFromPrimitiveError<SigningKeyVersion>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for SigningKeyVersion
impl TryFromPrimitive for SigningKeyVersion
const NAME: &'static str = "SigningKeyVersion"
type Primitive = u16
type Error = TryFromPrimitiveError<SigningKeyVersion>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
Source§impl Zeroize for SigningKeyVersion
impl Zeroize for SigningKeyVersion
impl Copy for SigningKeyVersion
impl Eq for SigningKeyVersion
impl StructuralPartialEq for SigningKeyVersion
Auto Trait Implementations§
impl Freeze for SigningKeyVersion
impl RefUnwindSafe for SigningKeyVersion
impl Send for SigningKeyVersion
impl Sync for SigningKeyVersion
impl Unpin for SigningKeyVersion
impl UnwindSafe for SigningKeyVersion
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> 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.