Struct trust_graph::PublicKeyHashable
source · #[repr(transparent)]pub struct PublicKeyHashable(_);Expand description
Wrapper to use PublicKey in HashMap
Trait Implementations§
source§impl AsRef<PublicKey> for PublicKeyHashable
impl AsRef<PublicKey> for PublicKeyHashable
source§impl AsRef<PublicKeyHashable> for PublicKey
impl AsRef<PublicKeyHashable> for PublicKey
source§fn as_ref(&self) -> &PublicKeyHashable
fn as_ref(&self) -> &PublicKeyHashable
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for PublicKeyHashable
impl Clone for PublicKeyHashable
source§fn clone(&self) -> PublicKeyHashable
fn clone(&self) -> PublicKeyHashable
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 PublicKeyHashable
impl Debug for PublicKeyHashable
source§impl<'de> Deserialize<'de> for PublicKeyHashable
impl<'de> Deserialize<'de> for PublicKeyHashable
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 PublicKeyHashable
impl Display for PublicKeyHashable
source§impl From<PublicKey> for PublicKeyHashable
impl From<PublicKey> for PublicKeyHashable
source§impl From<PublicKeyHashable> for PublicKey
impl From<PublicKeyHashable> for PublicKey
source§fn from(pk: PublicKeyHashable) -> PublicKey
fn from(pk: PublicKeyHashable) -> PublicKey
Converts to this type from the input type.
source§impl FromStr for PublicKeyHashable
impl FromStr for PublicKeyHashable
source§impl Hash for PublicKeyHashable
impl Hash for PublicKeyHashable
source§impl PartialEq<PublicKeyHashable> for PublicKeyHashable
impl PartialEq<PublicKeyHashable> for PublicKeyHashable
source§fn eq(&self, other: &PublicKeyHashable) -> bool
fn eq(&self, other: &PublicKeyHashable) -> bool
This method tests for
self and other values to be equal, and is used
by ==.