pub struct PublicHash(/* private fields */);Expand description
A SHA-256 public-configuration hash, from PublicConfig::hash.
Display and Serialize give 64 lowercase hex digits.
Implementations§
Trait Implementations§
Source§impl Clone for PublicHash
impl Clone for PublicHash
impl Copy for PublicHash
Source§impl Debug for PublicHash
impl Debug for PublicHash
Source§impl Display for PublicHash
impl Display for PublicHash
impl Eq for PublicHash
Source§impl Hash for PublicHash
impl Hash for PublicHash
Source§impl Ord for PublicHash
impl Ord for PublicHash
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for PublicHash
impl PartialEq for PublicHash
Source§impl PartialOrd for PublicHash
impl PartialOrd for PublicHash
Source§impl Serialize for PublicHash
impl Serialize for PublicHash
impl StructuralPartialEq for PublicHash
Auto Trait Implementations§
impl Forget for PublicHash
impl Freeze for PublicHash
impl Move for PublicHash
impl RefUnwindSafe for PublicHash
impl Send for PublicHash
impl Sync for PublicHash
impl Unpin for PublicHash
impl UnsafeUnpin for PublicHash
impl UnwindSafe for PublicHash
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.