pub struct AuditEvent {
pub timestamp_ns: u64,
pub residual: f64,
pub drift: f64,
pub slew: f64,
pub envelope_position: u8,
pub grammar_state: u8,
pub transition_occurred: bool,
}Expand description
A single audit event recording one observation-classification cycle.
Fields§
§timestamp_ns: u64Monotonic timestamp (nanoseconds).
residual: f64Raw residual value at this observation.
drift: f64Estimated drift at this observation.
slew: f64Estimated slew at this observation.
envelope_position: u8Envelope position classification.
grammar_state: u8Grammar state after this observation.
transition_occurred: boolWhether a grammar transition occurred at this step.
Trait Implementations§
Source§impl Clone for AuditEvent
impl Clone for AuditEvent
Source§fn clone(&self) -> AuditEvent
fn clone(&self) -> AuditEvent
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 AuditEvent
impl Debug for AuditEvent
impl Copy for AuditEvent
Auto Trait Implementations§
impl Freeze for AuditEvent
impl RefUnwindSafe for AuditEvent
impl Send for AuditEvent
impl Sync for AuditEvent
impl Unpin for AuditEvent
impl UnsafeUnpin for AuditEvent
impl UnwindSafe for AuditEvent
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