Struct akd::local_auditing::AuditBlobName
source · pub struct AuditBlobName {
pub epoch: u64,
pub previous_hash: Digest,
pub current_hash: Digest,
}
Expand description
Represents the NAME of an audit blob and can be flatted to/from a string
Fields§
§epoch: u64
The epoch this audit proof is related to
previous_hash: Digest
The previous root hash from &self.epoch - 1
current_hash: Digest
The current updated root hash
Trait Implementations§
source§impl Clone for AuditBlobName
impl Clone for AuditBlobName
source§fn clone(&self) -> AuditBlobName
fn clone(&self) -> AuditBlobName
Returns a copy of the value. Read more
1.0.0 · 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 AuditBlobName
impl Debug for AuditBlobName
source§impl Default for AuditBlobName
impl Default for AuditBlobName
source§fn default() -> AuditBlobName
fn default() -> AuditBlobName
Returns the “default value” for a type. Read more
source§impl Hash for AuditBlobName
impl Hash for AuditBlobName
source§impl Ord for AuditBlobName
impl Ord for AuditBlobName
source§fn cmp(&self, other: &AuditBlobName) -> Ordering
fn cmp(&self, other: &AuditBlobName) -> Ordering
1.21.0 · 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
source§impl PartialEq for AuditBlobName
impl PartialEq for AuditBlobName
source§fn eq(&self, other: &AuditBlobName) -> bool
fn eq(&self, other: &AuditBlobName) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for AuditBlobName
impl PartialOrd for AuditBlobName
source§fn partial_cmp(&self, other: &AuditBlobName) -> Option<Ordering>
fn partial_cmp(&self, other: &AuditBlobName) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl ToString for AuditBlobName
impl ToString for AuditBlobName
source§impl TryFrom<&str> for AuditBlobName
impl TryFrom<&str> for AuditBlobName
impl Copy for AuditBlobName
impl Eq for AuditBlobName
impl StructuralPartialEq for AuditBlobName
Auto Trait Implementations§
impl Freeze for AuditBlobName
impl RefUnwindSafe for AuditBlobName
impl Send for AuditBlobName
impl Sync for AuditBlobName
impl Unpin for AuditBlobName
impl UnwindSafe for AuditBlobName
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