pub struct BundleHash(/* private fields */);Expand description
A BLAKE3 content hash: exactly 64 lowercase ASCII hex digits.
The content-address key for every file in a bundle and for the bundle’s
own manifest digest. Deserialization rejects anything that isn’t 64 hex
chars, and normalizes to lowercase so blob_key is stable regardless of how
a hand-authored manifest cased its hashes.
Implementations§
Trait Implementations§
Source§impl Clone for BundleHash
impl Clone for BundleHash
Source§impl Debug for BundleHash
impl Debug for BundleHash
Source§impl<'de> Deserialize<'de> for BundleHash
impl<'de> Deserialize<'de> for BundleHash
Source§fn deserialize<D: Deserializer<'de>>(de: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(de: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for BundleHash
impl Display for BundleHash
impl Eq for BundleHash
Source§impl Hash for BundleHash
impl Hash for BundleHash
Source§impl Ord for BundleHash
impl Ord for BundleHash
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 BundleHash
impl PartialEq for BundleHash
Source§impl PartialOrd for BundleHash
impl PartialOrd for BundleHash
Source§impl Serialize for BundleHash
impl Serialize for BundleHash
impl StructuralPartialEq for BundleHash
Auto Trait Implementations§
impl Freeze for BundleHash
impl RefUnwindSafe for BundleHash
impl Send for BundleHash
impl Sync for BundleHash
impl Unpin for BundleHash
impl UnsafeUnpin for BundleHash
impl UnwindSafe for BundleHash
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.