pub struct AuditVerifyReport {
pub records: usize,
pub ok: bool,
pub first_bad_line: Option<usize>,
pub detail: Option<String>,
}Expand description
Outcome of verifying a tamper-evident audit log.
Fields§
§records: usizeNumber of records inspected (up to and including any failure).
ok: boolTrue when the whole chain verified.
first_bad_line: Option<usize>1-based line number of the first broken record, if any.
detail: Option<String>Human-readable detail of the first failure, if any.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AuditVerifyReport
impl RefUnwindSafe for AuditVerifyReport
impl Send for AuditVerifyReport
impl Sync for AuditVerifyReport
impl Unpin for AuditVerifyReport
impl UnsafeUnpin for AuditVerifyReport
impl UnwindSafe for AuditVerifyReport
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