pub struct PurposedKey {
pub purpose: Purpose,
pub public_key_multibase: String,
}Fields§
§purpose: Purpose§public_key_multibase: StringTrait Implementations§
Source§impl Clone for PurposedKey
impl Clone for PurposedKey
Source§fn clone(&self) -> PurposedKey
fn clone(&self) -> PurposedKey
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 PurposedKey
impl Debug for PurposedKey
Source§impl<'de> Deserialize<'de> for PurposedKey
impl<'de> Deserialize<'de> for PurposedKey
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 PartialEq for PurposedKey
impl PartialEq for PurposedKey
Source§impl Serialize for PurposedKey
impl Serialize for PurposedKey
impl Eq for PurposedKey
impl StructuralPartialEq for PurposedKey
Auto Trait Implementations§
impl Freeze for PurposedKey
impl RefUnwindSafe for PurposedKey
impl Send for PurposedKey
impl Sync for PurposedKey
impl Unpin for PurposedKey
impl UnwindSafe for PurposedKey
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.