pub struct DescriptorHash(/* private fields */);Expand description
SHA3-256 of a signed descriptor’s bytes (§3.2). The descriptor names its delegation’s
hash, so this identifies the descriptor/delegation pair.
Implementations§
Trait Implementations§
Source§impl Clone for DescriptorHash
impl Clone for DescriptorHash
Source§fn clone(&self) -> DescriptorHash
fn clone(&self) -> DescriptorHash
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 DescriptorHash
Source§impl Debug for DescriptorHash
impl Debug for DescriptorHash
Source§impl<'de> Deserialize<'de> for DescriptorHash
impl<'de> Deserialize<'de> for DescriptorHash
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for DescriptorHash
impl Display for DescriptorHash
impl Eq for DescriptorHash
Source§impl Hash for DescriptorHash
impl Hash for DescriptorHash
Source§impl Ord for DescriptorHash
impl Ord for DescriptorHash
Source§fn cmp(&self, other: &DescriptorHash) -> Ordering
fn cmp(&self, other: &DescriptorHash) -> 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 DescriptorHash
impl PartialEq for DescriptorHash
Source§impl PartialOrd for DescriptorHash
impl PartialOrd for DescriptorHash
Source§impl Serialize for DescriptorHash
impl Serialize for DescriptorHash
impl StructuralPartialEq for DescriptorHash
Auto Trait Implementations§
impl Freeze for DescriptorHash
impl RefUnwindSafe for DescriptorHash
impl Send for DescriptorHash
impl Sync for DescriptorHash
impl Unpin for DescriptorHash
impl UnsafeUnpin for DescriptorHash
impl UnwindSafe for DescriptorHash
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