Struct trust_graph::PublicKeyHashable
source · pub struct PublicKeyHashable(/* private fields */);
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 for PublicKeyHashable
impl PartialEq 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 ==
.source§impl RefCast for PublicKeyHashable
impl RefCast for PublicKeyHashable
source§impl Serialize for PublicKeyHashable
impl Serialize for PublicKeyHashable
impl Eq for PublicKeyHashable
impl StructuralEq for PublicKeyHashable
impl StructuralPartialEq for PublicKeyHashable
Auto Trait Implementations§
impl RefUnwindSafe for PublicKeyHashable
impl Send for PublicKeyHashable
impl Sync for PublicKeyHashable
impl Unpin for PublicKeyHashable
impl UnwindSafe for PublicKeyHashable
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