pub enum SubpacketType {
Show 27 variants
SignatureCreationTime,
SignatureExpirationTime,
ExportableCertification,
TrustSignature,
RegularExpression,
Revocable,
KeyExpirationTime,
PreferredSymmetricAlgorithms,
RevocationKey,
Issuer,
Notation,
PreferredHashAlgorithms,
PreferredCompressionAlgorithms,
KeyServerPreferences,
PreferredKeyServer,
PrimaryUserId,
PolicyURI,
KeyFlags,
SignersUserID,
RevocationReason,
Features,
SignatureTarget,
EmbeddedSignature,
IssuerFingerprint,
PreferredAead,
Experimental(u8),
Other(u8),
}
Expand description
Available signature subpacket types
Variants
SignatureCreationTime
SignatureExpirationTime
ExportableCertification
TrustSignature
RegularExpression
Revocable
KeyExpirationTime
PreferredSymmetricAlgorithms
RevocationKey
Issuer
Notation
PreferredHashAlgorithms
PreferredCompressionAlgorithms
KeyServerPreferences
PreferredKeyServer
PrimaryUserId
PolicyURI
KeyFlags
SignersUserID
RevocationReason
Features
SignatureTarget
EmbeddedSignature
IssuerFingerprint
PreferredAead
Experimental(u8)
Other(u8)
Trait Implementations
sourceimpl Clone for SubpacketType
impl Clone for SubpacketType
sourcefn clone(&self) -> SubpacketType
fn clone(&self) -> SubpacketType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SubpacketType
impl Debug for SubpacketType
sourceimpl FromPrimitive for SubpacketType
impl FromPrimitive for SubpacketType
sourcefn from_i64(n: i64) -> Option<Self>
fn from_i64(n: i64) -> Option<Self>
Converts an i64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
sourcefn from_u64(n: u64) -> Option<Self>
fn from_u64(n: u64) -> Option<Self>
Converts an u64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
sourcefn from_isize(n: isize) -> Option<Self>
fn from_isize(n: isize) -> Option<Self>
Converts an isize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
sourcefn from_i8(n: i8) -> Option<Self>
fn from_i8(n: i8) -> Option<Self>
Converts an i8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
sourcefn from_i16(n: i16) -> Option<Self>
fn from_i16(n: i16) -> Option<Self>
Converts an i16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
sourcefn from_i32(n: i32) -> Option<Self>
fn from_i32(n: i32) -> Option<Self>
Converts an i32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
sourcefn from_i128(n: i128) -> Option<Self>
fn from_i128(n: i128) -> Option<Self>
Converts an i128
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
sourcefn from_usize(n: usize) -> Option<Self>
fn from_usize(n: usize) -> Option<Self>
Converts a usize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
sourcefn from_u8(n: u8) -> Option<Self>
fn from_u8(n: u8) -> Option<Self>
Converts an u8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
sourcefn from_u16(n: u16) -> Option<Self>
fn from_u16(n: u16) -> Option<Self>
Converts an u16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
sourcefn from_u32(n: u32) -> Option<Self>
fn from_u32(n: u32) -> Option<Self>
Converts an u32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
sourcefn from_u128(n: u128) -> Option<Self>
fn from_u128(n: u128) -> Option<Self>
Converts an u128
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
sourceimpl Into<u8> for SubpacketType
impl Into<u8> for SubpacketType
sourceimpl PartialEq<SubpacketType> for SubpacketType
impl PartialEq<SubpacketType> for SubpacketType
sourcefn eq(&self, other: &SubpacketType) -> bool
fn eq(&self, other: &SubpacketType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SubpacketType) -> bool
fn ne(&self, other: &SubpacketType) -> bool
This method tests for !=
.
impl Copy for SubpacketType
impl Eq for SubpacketType
impl StructuralEq for SubpacketType
impl StructuralPartialEq for SubpacketType
Auto Trait Implementations
impl RefUnwindSafe for SubpacketType
impl Send for SubpacketType
impl Sync for SubpacketType
impl Unpin for SubpacketType
impl UnwindSafe for SubpacketType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more