#[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 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 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§fn eq(&self, other: &SigningKeyVersion) -> bool
fn eq(&self, other: &SigningKeyVersion) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl TryFrom<u16> for SigningKeyVersion
impl TryFrom<u16> for SigningKeyVersion
§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
source§impl Zeroize for SigningKeyVersion
impl Zeroize for SigningKeyVersion
impl Copy for SigningKeyVersion
impl Eq for SigningKeyVersion
impl StructuralEq for SigningKeyVersion
impl StructuralPartialEq for SigningKeyVersion
Auto Trait Implementations§
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