pub struct ObjectHash(pub String);Expand description
Object hash type (SHA3-512 + BLAKE3 composite) Uses NIST-approved SHA-3 as primary hash with BLAKE3 for quantum resistance Format: sha3_512(data) || blake3(data) = 128 hex chars (64 + 64)
Tuple Fields§
§0: StringImplementations§
Source§impl ObjectHash
impl ObjectHash
Trait Implementations§
Source§impl Clone for ObjectHash
impl Clone for ObjectHash
Source§fn clone(&self) -> ObjectHash
fn clone(&self) -> ObjectHash
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 ObjectHash
impl Debug for ObjectHash
Source§impl<'de> Deserialize<'de> for ObjectHash
impl<'de> Deserialize<'de> for ObjectHash
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ObjectHash
impl Display for ObjectHash
impl Eq for ObjectHash
Source§impl Hash for ObjectHash
impl Hash for ObjectHash
Source§impl PartialEq for ObjectHash
impl PartialEq for ObjectHash
Source§impl Serialize for ObjectHash
impl Serialize for ObjectHash
impl StructuralPartialEq for ObjectHash
Auto Trait Implementations§
impl Freeze for ObjectHash
impl RefUnwindSafe for ObjectHash
impl Send for ObjectHash
impl Sync for ObjectHash
impl Unpin for ObjectHash
impl UnsafeUnpin for ObjectHash
impl UnwindSafe for ObjectHash
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,
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.