pub struct ChainVerificationReport {
pub valid: bool,
pub total_events: usize,
pub root_hash: String,
pub head_hash: String,
pub first_broken_sequence: Option<u64>,
pub error_detail: Option<String>,
pub checked_at: String,
}Expand description
Cryptographic integrity verification report for an event chain.
Fields§
§valid: boolTrue if all sequence numbers, previous hashes, and event hashes match expectations.
total_events: usizeTotal count of events verified in the ledger.
root_hash: StringEvent hash of the genesis event (sequence 1).
head_hash: StringEvent hash of the most recent event in the ledger.
first_broken_sequence: Option<u64>Sequence number of the first detected discrepancy, or None if valid.
error_detail: Option<String>Human-readable explanation of detected tampering or discontinuity.
checked_at: StringTimestamp when verification was completed in seconds since UNIX epoch.
Trait Implementations§
Source§impl Clone for ChainVerificationReport
impl Clone for ChainVerificationReport
Source§impl Debug for ChainVerificationReport
impl Debug for ChainVerificationReport
impl Eq for ChainVerificationReport
Source§impl PartialEq for ChainVerificationReport
impl PartialEq for ChainVerificationReport
impl StructuralPartialEq for ChainVerificationReport
Auto Trait Implementations§
impl Freeze for ChainVerificationReport
impl RefUnwindSafe for ChainVerificationReport
impl Send for ChainVerificationReport
impl Sync for ChainVerificationReport
impl Unpin for ChainVerificationReport
impl UnsafeUnpin for ChainVerificationReport
impl UnwindSafe for ChainVerificationReport
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