pub struct OutputHash(/* private fields */);Expand description
A SHA-256 digest associated with verified output bytes.
This is intentionally a distinct type from InputHash, so source identity and output
receipt identity cannot be mixed accidentally at a Rust API boundary.
Implementations§
Trait Implementations§
Source§impl Clone for OutputHash
impl Clone for OutputHash
Source§fn clone(&self) -> OutputHash
fn clone(&self) -> OutputHash
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 OutputHash
Source§impl Debug for OutputHash
impl Debug for OutputHash
impl Eq for OutputHash
Source§impl Hash for OutputHash
impl Hash for OutputHash
Source§impl PartialEq for OutputHash
impl PartialEq for OutputHash
impl StructuralPartialEq for OutputHash
Auto Trait Implementations§
impl Freeze for OutputHash
impl RefUnwindSafe for OutputHash
impl Send for OutputHash
impl Sync for OutputHash
impl Unpin for OutputHash
impl UnsafeUnpin for OutputHash
impl UnwindSafe for OutputHash
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> 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.