#[repr(C)]pub struct PamojaTypeHash {
pub digest: [u8; 32],
}Expand description
A RIHS01 type hash: the 32-byte digest that identifies a message definition.
Fields§
§digest: [u8; 32]The SHA-256 digest the hash carries.
Trait Implementations§
Source§impl Clone for PamojaTypeHash
impl Clone for PamojaTypeHash
Source§fn clone(&self) -> PamojaTypeHash
fn clone(&self) -> PamojaTypeHash
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 moreimpl Copy for PamojaTypeHash
Source§impl Debug for PamojaTypeHash
impl Debug for PamojaTypeHash
impl Eq for PamojaTypeHash
Source§impl PartialEq for PamojaTypeHash
impl PartialEq for PamojaTypeHash
Source§fn eq(&self, other: &PamojaTypeHash) -> bool
fn eq(&self, other: &PamojaTypeHash) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PamojaTypeHash
Auto Trait Implementations§
impl Freeze for PamojaTypeHash
impl RefUnwindSafe for PamojaTypeHash
impl Send for PamojaTypeHash
impl Sync for PamojaTypeHash
impl Unpin for PamojaTypeHash
impl UnsafeUnpin for PamojaTypeHash
impl UnwindSafe for PamojaTypeHash
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