pub enum OpenpgpFingerprint {
V4([u8; 20]),
V6([u8; 32]),
}Expand description
An OpenPGP fingerprint.
Variants§
Trait Implementations§
Source§impl AsRef<[u8]> for OpenpgpFingerprint
impl AsRef<[u8]> for OpenpgpFingerprint
Source§impl Clone for OpenpgpFingerprint
impl Clone for OpenpgpFingerprint
Source§fn clone(&self) -> OpenpgpFingerprint
fn clone(&self) -> OpenpgpFingerprint
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 OpenpgpFingerprint
impl Debug for OpenpgpFingerprint
Source§impl<'de> Deserialize<'de> for OpenpgpFingerprint
impl<'de> Deserialize<'de> for OpenpgpFingerprint
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for OpenpgpFingerprint
impl Display for OpenpgpFingerprint
Source§impl From<OpenpgpFingerprint> for String
impl From<OpenpgpFingerprint> for String
Source§fn from(value: OpenpgpFingerprint) -> Self
fn from(value: OpenpgpFingerprint) -> Self
Converts to this type from the input type.
Source§impl FromStr for OpenpgpFingerprint
impl FromStr for OpenpgpFingerprint
Source§impl Hash for OpenpgpFingerprint
impl Hash for OpenpgpFingerprint
Source§impl Ord for OpenpgpFingerprint
impl Ord for OpenpgpFingerprint
Source§fn cmp(&self, other: &OpenpgpFingerprint) -> Ordering
fn cmp(&self, other: &OpenpgpFingerprint) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OpenpgpFingerprint
impl PartialEq for OpenpgpFingerprint
Source§impl PartialOrd for OpenpgpFingerprint
impl PartialOrd for OpenpgpFingerprint
Source§impl Serialize for OpenpgpFingerprint
impl Serialize for OpenpgpFingerprint
Source§impl TryFrom<String> for OpenpgpFingerprint
impl TryFrom<String> for OpenpgpFingerprint
impl Eq for OpenpgpFingerprint
impl StructuralPartialEq for OpenpgpFingerprint
Auto Trait Implementations§
impl Freeze for OpenpgpFingerprint
impl RefUnwindSafe for OpenpgpFingerprint
impl Send for OpenpgpFingerprint
impl Sync for OpenpgpFingerprint
impl Unpin for OpenpgpFingerprint
impl UnwindSafe for OpenpgpFingerprint
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,
§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of [
ToCompactString::to_compact_string()] Read more§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a [
CompactString]. Read more§impl<T> ToHex for T
impl<T> ToHex for T
§fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
👎Deprecated: use
ToHexExt insteadEncode the hex strict representing
self into the result.
Lower case letters are used (e.g. f9b4ca).§fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
👎Deprecated: use
ToHexExt insteadEncode the hex strict representing
self into the result.
Upper case letters are used (e.g. F9B4CA).§impl<T> ToHexExt for T
impl<T> ToHexExt for T
§fn encode_hex(&self) -> String
fn encode_hex(&self) -> String
Encode the hex strict representing
self into the result.
Lower case letters are used (e.g. f9b4ca).§fn encode_hex_upper(&self) -> String
fn encode_hex_upper(&self) -> String
Encode the hex strict representing
self into the result.
Upper case letters are used (e.g. F9B4CA).§fn encode_hex_with_prefix(&self) -> String
fn encode_hex_with_prefix(&self) -> String
Encode the hex strict representing
self into the result with prefix 0x.
Lower case letters are used (e.g. 0xf9b4ca).§fn encode_hex_upper_with_prefix(&self) -> String
fn encode_hex_upper_with_prefix(&self) -> String
Encode the hex strict representing
self into the result with prefix 0X.
Upper case letters are used (e.g. 0xF9B4CA).