pub struct ReplayAudit {
pub item_count: usize,
pub signed_count: usize,
pub formats: Vec<ReasoningFormat>,
pub violation: Option<ReplayViolation>,
}Expand description
Diagnostic about a single assistant turn’s reasoning state.
Produced by audit_replay. The bridge uses this to surface
“the next request will 400” failures eagerly — observable now, in
the right log line, instead of as a confusing upstream HTTP error
after the request goes out.
Fields§
§item_count: usizeTotal reasoning items captured this turn.
signed_count: usizeItems that carry a signature or encrypted blob the originating provider will check on replay.
formats: Vec<ReasoningFormat>Per-format breakdown so the bridge can route warnings to the right provider-specific log channel.
violation: Option<ReplayViolation>Severity of any contract break the audit detected. None
means the turn satisfies its codec’s replay contract.
Trait Implementations§
Source§impl Clone for ReplayAudit
impl Clone for ReplayAudit
Source§fn clone(&self) -> ReplayAudit
fn clone(&self) -> ReplayAudit
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 moreSource§impl Debug for ReplayAudit
impl Debug for ReplayAudit
Source§impl PartialEq for ReplayAudit
impl PartialEq for ReplayAudit
Source§fn eq(&self, other: &ReplayAudit) -> bool
fn eq(&self, other: &ReplayAudit) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ReplayAudit
Auto Trait Implementations§
impl Freeze for ReplayAudit
impl RefUnwindSafe for ReplayAudit
impl Send for ReplayAudit
impl Sync for ReplayAudit
impl Unpin for ReplayAudit
impl UnsafeUnpin for ReplayAudit
impl UnwindSafe for ReplayAudit
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