Struct tpfs_krypt::KeyIdentifier
source · pub struct KeyIdentifier {
pub value: String,
pub key_type: KeyType,
}Expand description
Uniquely identifies (the public portion of) a key
Fields§
§value: StringString representation of the key ID
key_type: KeyTypeThe key_type to keep track of what kind of key the address relates to.
Trait Implementations§
source§impl AsRef<KeyIdentifier> for NewKeyId
impl AsRef<KeyIdentifier> for NewKeyId
source§fn as_ref(&self) -> &KeyIdentifier
fn as_ref(&self) -> &KeyIdentifier
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for KeyIdentifier
impl Clone for KeyIdentifier
source§fn clone(&self) -> KeyIdentifier
fn clone(&self) -> KeyIdentifier
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 KeyIdentifier
impl Debug for KeyIdentifier
source§impl Hash for KeyIdentifier
impl Hash for KeyIdentifier
source§impl PartialEq<KeyIdentifier> for KeyIdentifier
impl PartialEq<KeyIdentifier> for KeyIdentifier
source§fn eq(&self, other: &KeyIdentifier) -> bool
fn eq(&self, other: &KeyIdentifier) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for KeyIdentifier
impl StructuralEq for KeyIdentifier
impl StructuralPartialEq for KeyIdentifier
Auto Trait Implementations§
impl RefUnwindSafe for KeyIdentifier
impl Send for KeyIdentifier
impl Sync for KeyIdentifier
impl Unpin for KeyIdentifier
impl UnwindSafe for KeyIdentifier
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T, Outer> IsWrappedBy<Outer> for Twhere
Outer: AsRef<T> + AsMut<T> + From<T>,
T: From<Outer>,
impl<T, Outer> IsWrappedBy<Outer> for Twhere Outer: AsRef<T> + AsMut<T> + From<T>, T: From<Outer>,
source§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere T: UncheckedFrom<S>,
source§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
The counterpart to
unchecked_from.