pub struct Sha256Hash(/* private fields */);Expand description
Exact 32-byte SHA-256 digest represented as lowercase hexadecimal on wire.
Implementations§
Trait Implementations§
Source§impl Clone for Sha256Hash
impl Clone for Sha256Hash
Source§fn clone(&self) -> Sha256Hash
fn clone(&self) -> Sha256Hash
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Sha256Hash
Source§impl Debug for Sha256Hash
impl Debug for Sha256Hash
Source§impl<'de> Deserialize<'de> for Sha256Hash
impl<'de> Deserialize<'de> for Sha256Hash
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 Sha256Hash
impl Display for Sha256Hash
impl Eq for Sha256Hash
Source§impl FromStr for Sha256Hash
impl FromStr for Sha256Hash
Source§impl Hash for Sha256Hash
impl Hash for Sha256Hash
Source§impl Ord for Sha256Hash
impl Ord for Sha256Hash
Source§fn cmp(&self, other: &Sha256Hash) -> Ordering
fn cmp(&self, other: &Sha256Hash) -> Ordering
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
Source§impl PartialEq for Sha256Hash
impl PartialEq for Sha256Hash
Source§impl PartialOrd for Sha256Hash
impl PartialOrd for Sha256Hash
Source§impl Serialize for Sha256Hash
impl Serialize for Sha256Hash
impl StructuralPartialEq for Sha256Hash
Auto Trait Implementations§
impl Freeze for Sha256Hash
impl RefUnwindSafe for Sha256Hash
impl Send for Sha256Hash
impl Sync for Sha256Hash
impl Unpin for Sha256Hash
impl UnsafeUnpin for Sha256Hash
impl UnwindSafe for Sha256Hash
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