pub struct ReplaySummary {
pub lines_total: u64,
pub lines_skipped_no_raw_event: u64,
pub lines_parse_error: u64,
pub events_ingested: u64,
pub windows_closed: u64,
pub intents_total: u64,
pub intents_approved: u64,
pub intents_rejected: u64,
pub actions_authorized: u64,
pub actions_denied: u64,
pub denial_counts: BTreeMap<DenialReason, u64>,
pub audit_hash: String,
}Expand description
Aggregate counters surfaced both in the NDJSON summary record and to integration tests.
audit_hash is a hex SHA-256 of the canonical projection of every
per-stage record (everything except the final summary record itself).
Identical inputs must yield identical hashes; pin this in golden tests.
denial_counts keys are DenialReason enum variants; the BTreeMap
gives a stable, canonical iteration order so the JSON projection is
deterministic and folds into audit_hash without extra effort.
Fields§
§lines_total: u64§lines_skipped_no_raw_event: u64§lines_parse_error: u64§events_ingested: u64§windows_closed: u64§intents_total: u64§intents_approved: u64§intents_rejected: u64§actions_denied: u64§denial_counts: BTreeMap<DenialReason, u64>§audit_hash: StringTrait Implementations§
Source§impl Clone for ReplaySummary
impl Clone for ReplaySummary
Source§fn clone(&self) -> ReplaySummary
fn clone(&self) -> ReplaySummary
Returns a duplicate 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 ReplaySummary
impl Debug for ReplaySummary
Source§impl Default for ReplaySummary
impl Default for ReplaySummary
Source§fn default() -> ReplaySummary
fn default() -> ReplaySummary
Returns the “default value” for a type. Read more
Source§impl PartialEq for ReplaySummary
impl PartialEq for ReplaySummary
Source§impl Serialize for ReplaySummary
impl Serialize for ReplaySummary
impl Eq for ReplaySummary
impl StructuralPartialEq for ReplaySummary
Auto Trait Implementations§
impl Freeze for ReplaySummary
impl RefUnwindSafe for ReplaySummary
impl Send for ReplaySummary
impl Sync for ReplaySummary
impl Unpin for ReplaySummary
impl UnsafeUnpin for ReplaySummary
impl UnwindSafe for ReplaySummary
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