#[repr(u8)]pub enum SignatureType {
Show 16 variants
BinaryDocument = 0,
TextDocument = 1,
Standalone = 2,
GenericCertification = 16,
PersonaCertification = 17,
CasualCertification = 18,
PositiveCertification = 19,
SubkeyBinding = 24,
PrimaryKeyBinding = 25,
DirectKey = 31,
KeyRevocation = 32,
SubkeyRevocation = 40,
CertificationRevocation = 48,
Timestamp = 64,
ThirdPartyConfirmation = 80,
Unknown = 255,
}Expand description
The type of content a signature covers. See RFC4880 §5.2.1.
Variants§
BinaryDocument = 0
TextDocument = 1
Standalone = 2
GenericCertification = 16
PersonaCertification = 17
CasualCertification = 18
PositiveCertification = 19
SubkeyBinding = 24
PrimaryKeyBinding = 25
DirectKey = 31
KeyRevocation = 32
SubkeyRevocation = 40
CertificationRevocation = 48
Timestamp = 64
ThirdPartyConfirmation = 80
Unknown = 255
Trait Implementations§
Source§impl Clone for SignatureType
impl Clone for SignatureType
Source§fn clone(&self) -> SignatureType
fn clone(&self) -> SignatureType
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 SignatureType
impl Debug for SignatureType
Source§impl From<SignatureType> for u8
impl From<SignatureType> for u8
Source§fn from(val: SignatureType) -> u8
fn from(val: SignatureType) -> u8
Converts to this type from the input type.
Source§impl From<u8> for SignatureType
impl From<u8> for SignatureType
Source§fn from(val: u8) -> SignatureType
fn from(val: u8) -> SignatureType
Converts to this type from the input type.
Source§impl PartialEq for SignatureType
impl PartialEq for SignatureType
impl Copy for SignatureType
impl Eq for SignatureType
impl StructuralPartialEq for SignatureType
Auto Trait Implementations§
impl Freeze for SignatureType
impl RefUnwindSafe for SignatureType
impl Send for SignatureType
impl Sync for SignatureType
impl Unpin for SignatureType
impl UnwindSafe for SignatureType
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