pub struct AuditRecordHash(/* private fields */);Expand description
SHA-256 digest binding one audit record to the one before it.
Kept as bytes rather than a string so the chain cannot be broken by a formatting difference between implementations.
Implementations§
Trait Implementations§
Source§impl Clone for AuditRecordHash
impl Clone for AuditRecordHash
impl Copy for AuditRecordHash
Source§impl Debug for AuditRecordHash
impl Debug for AuditRecordHash
Source§impl<'de> Deserialize<'de> for AuditRecordHash
impl<'de> Deserialize<'de> for AuditRecordHash
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 AuditRecordHash
impl Display for AuditRecordHash
impl Eq for AuditRecordHash
Source§impl Hash for AuditRecordHash
impl Hash for AuditRecordHash
Source§impl Ord for AuditRecordHash
impl Ord for AuditRecordHash
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 AuditRecordHash
impl PartialEq for AuditRecordHash
Source§impl PartialOrd for AuditRecordHash
impl PartialOrd for AuditRecordHash
Source§impl Serialize for AuditRecordHash
impl Serialize for AuditRecordHash
impl StructuralPartialEq for AuditRecordHash
Auto Trait Implementations§
impl Freeze for AuditRecordHash
impl RefUnwindSafe for AuditRecordHash
impl Send for AuditRecordHash
impl Sync for AuditRecordHash
impl Unpin for AuditRecordHash
impl UnsafeUnpin for AuditRecordHash
impl UnwindSafe for AuditRecordHash
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