pub struct ContentDigest(pub Hash);Expand description
A blake3 content digest of JCS bytes, in hex.
Tuple Fields§
§0: HashImplementations§
Trait Implementations§
Source§impl Clone for ContentDigest
impl Clone for ContentDigest
Source§fn clone(&self) -> ContentDigest
fn clone(&self) -> ContentDigest
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 moreSource§impl Debug for ContentDigest
impl Debug for ContentDigest
Source§impl Display for ContentDigest
impl Display for ContentDigest
Source§impl LowerHex for ContentDigest
impl LowerHex for ContentDigest
Source§impl PartialEq for ContentDigest
impl PartialEq for ContentDigest
Source§fn eq(&self, other: &ContentDigest) -> bool
fn eq(&self, other: &ContentDigest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ContentDigest
impl StructuralPartialEq for ContentDigest
Auto Trait Implementations§
impl Freeze for ContentDigest
impl RefUnwindSafe for ContentDigest
impl Send for ContentDigest
impl Sync for ContentDigest
impl Unpin for ContentDigest
impl UnsafeUnpin for ContentDigest
impl UnwindSafe for ContentDigest
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