pub struct ContentDigest(/* private fields */);Expand description
A SHA-256 content digest in its canonical lowercase hexadecimal wire form.
Implementations§
Trait Implementations§
Source§impl Clone for ContentDigest
impl Clone for ContentDigest
impl Copy for ContentDigest
Source§impl Debug for ContentDigest
impl Debug for ContentDigest
Source§impl Display for ContentDigest
impl Display for ContentDigest
impl Eq for ContentDigest
Source§impl FromStr for ContentDigest
impl FromStr for ContentDigest
Source§impl Hash for ContentDigest
impl Hash for ContentDigest
Source§impl Ord for ContentDigest
impl Ord for ContentDigest
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 ContentDigest
impl PartialEq for ContentDigest
Source§impl PartialOrd for ContentDigest
impl PartialOrd for ContentDigest
impl StructuralPartialEq for ContentDigest
Auto Trait Implementations§
impl Forget for ContentDigest
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