Struct trust_graph::PublicKeyHashable
source · [−]#[repr(transparent)]pub struct PublicKeyHashable(_);Expand description
Wrapper to use PublicKey in HashMap
Trait Implementations
sourceimpl AsRef<PublicKey> for PublicKeyHashable
impl AsRef<PublicKey> for PublicKeyHashable
sourceimpl AsRef<PublicKeyHashable> for PublicKey
impl AsRef<PublicKeyHashable> for PublicKey
sourcefn as_ref(&self) -> &PublicKeyHashable
fn as_ref(&self) -> &PublicKeyHashable
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for PublicKeyHashable
impl Clone for PublicKeyHashable
sourcefn clone(&self) -> PublicKeyHashable
fn clone(&self) -> PublicKeyHashable
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for PublicKeyHashable
impl Debug for PublicKeyHashable
sourceimpl<'de> Deserialize<'de> for PublicKeyHashable
impl<'de> Deserialize<'de> for PublicKeyHashable
sourcefn 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
sourceimpl Display for PublicKeyHashable
impl Display for PublicKeyHashable
sourceimpl From<PublicKey> for PublicKeyHashable
impl From<PublicKey> for PublicKeyHashable
sourceimpl From<PublicKeyHashable> for PublicKey
impl From<PublicKeyHashable> for PublicKey
sourcefn from(pk: PublicKeyHashable) -> PublicKey
fn from(pk: PublicKeyHashable) -> PublicKey
Converts to this type from the input type.
sourceimpl FromStr for PublicKeyHashable
impl FromStr for PublicKeyHashable
sourceimpl Hash for PublicKeyHashable
impl Hash for PublicKeyHashable
sourceimpl PartialEq<PublicKeyHashable> for PublicKeyHashable
impl PartialEq<PublicKeyHashable> for PublicKeyHashable
sourcefn eq(&self, other: &PublicKeyHashable) -> bool
fn eq(&self, other: &PublicKeyHashable) -> bool
sourceimpl RefCast for PublicKeyHashable
impl RefCast for PublicKeyHashable
sourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more