pub struct ChainReview {
pub entry_count: usize,
pub integrity: IntegrityStatus,
pub earliest: Option<String>,
pub latest: Option<String>,
pub sources: BTreeMap<String, usize>,
pub severities: BTreeMap<String, usize>,
pub agents: BTreeMap<String, usize>,
pub head_hash: Option<String>,
pub continued_from: Option<String>,
}Expand description
A structured review of an audit chain’s contents and integrity.
Fields§
§entry_count: usizeTotal number of entries.
integrity: IntegrityStatusWhether the chain passed integrity verification.
earliest: Option<String>Earliest entry timestamp (None if chain is empty).
latest: Option<String>Latest entry timestamp (None if chain is empty).
sources: BTreeMap<String, usize>Count of entries per source.
severities: BTreeMap<String, usize>Count of entries per severity level.
agents: BTreeMap<String, usize>Count of entries per agent (None-agent entries counted under “(none)”).
head_hash: Option<String>Head hash of the chain (None if empty).
continued_from: Option<String>Whether this chain continues from a previous (rotated) chain.
Trait Implementations§
Source§impl Debug for ChainReview
impl Debug for ChainReview
Auto Trait Implementations§
impl Freeze for ChainReview
impl RefUnwindSafe for ChainReview
impl Send for ChainReview
impl Sync for ChainReview
impl Unpin for ChainReview
impl UnsafeUnpin for ChainReview
impl UnwindSafe for ChainReview
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