pub struct CatalogHash(pub [u8; 32]);Expand description
The catalog hash: SHA-256 over the catalog’s interfaces, their numbers, and the types they reach.
Tuple Fields§
§0: [u8; 32]Trait Implementations§
Source§impl Clone for CatalogHash
impl Clone for CatalogHash
impl Copy for CatalogHash
Source§impl Debug for CatalogHash
impl Debug for CatalogHash
impl Eq for CatalogHash
Source§impl Hash for CatalogHash
impl Hash for CatalogHash
Source§impl Ord for CatalogHash
impl Ord for CatalogHash
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 CatalogHash
impl PartialEq for CatalogHash
Source§impl PartialOrd for CatalogHash
impl PartialOrd for CatalogHash
impl StructuralPartialEq for CatalogHash
Auto Trait Implementations§
impl Freeze for CatalogHash
impl RefUnwindSafe for CatalogHash
impl Send for CatalogHash
impl Sync for CatalogHash
impl Unpin for CatalogHash
impl UnsafeUnpin for CatalogHash
impl UnwindSafe for CatalogHash
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