pub struct AuditVerification {
pub valid: bool,
pub total_entries: usize,
pub hashed_entries: usize,
pub legacy_entries: usize,
pub message: String,
}Expand description
Result of an audit log verification.
Fields§
§valid: boolWhether the audit chain is valid.
total_entries: usizeTotal number of entries checked.
hashed_entries: usizeNumber of entries with valid hashes.
legacy_entries: usizeNumber of legacy (non-hashed) entries.
message: StringDescriptive message about the verification result.
Trait Implementations§
Source§impl Clone for AuditVerification
impl Clone for AuditVerification
Source§fn clone(&self) -> AuditVerification
fn clone(&self) -> AuditVerification
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 moreAuto Trait Implementations§
impl Freeze for AuditVerification
impl RefUnwindSafe for AuditVerification
impl Send for AuditVerification
impl Sync for AuditVerification
impl Unpin for AuditVerification
impl UnsafeUnpin for AuditVerification
impl UnwindSafe for AuditVerification
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more