Enum pgp::packet::SignatureVersion
source · #[repr(u8)]pub enum SignatureVersion {
V2 = 2,
V3 = 3,
V4 = 4,
V5 = 5,
Other(u8),
}
Variants§
Trait Implementations§
source§impl Clone for SignatureVersion
impl Clone for SignatureVersion
source§fn clone(&self) -> SignatureVersion
fn clone(&self) -> SignatureVersion
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 SignatureVersion
impl Debug for SignatureVersion
source§impl Default for SignatureVersion
impl Default for SignatureVersion
source§impl From<SignatureVersion> for u8
impl From<SignatureVersion> for u8
source§fn from(enum_value: SignatureVersion) -> Self
fn from(enum_value: SignatureVersion) -> Self
Converts to this type from the input type.
source§impl From<u8> for SignatureVersion
impl From<u8> for SignatureVersion
source§impl FromPrimitive for SignatureVersion
impl FromPrimitive for SignatureVersion
source§impl PartialEq for SignatureVersion
impl PartialEq for SignatureVersion
source§fn eq(&self, other: &SignatureVersion) -> bool
fn eq(&self, other: &SignatureVersion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SignatureVersion
impl Eq for SignatureVersion
impl StructuralPartialEq for SignatureVersion
Auto Trait Implementations§
impl RefUnwindSafe for SignatureVersion
impl Send for SignatureVersion
impl Sync for SignatureVersion
impl Unpin for SignatureVersion
impl UnwindSafe for SignatureVersion
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