pub struct AuditEntry {
pub seq: u64,
pub timestamp_ns: u64,
pub expression: String,
pub permitted: bool,
pub confidence: u8,
pub paradigm_count: u8,
pub conflicts: u8,
pub formal_notation: String,
pub correlation_id: Option<String>,
}Expand description
A single entry in the governance audit log.
Fields§
§seq: u64Sequence number (monotonically increasing).
timestamp_ns: u64Logical timestamp (ns since epoch or monotonic counter).
expression: StringThe expression that was evaluated.
permitted: boolWhether the verdict permitted or denied.
confidence: u8Confidence score [0, 255].
paradigm_count: u8Number of paradigms evaluated.
conflicts: u8Number of inter-paradigm conflicts detected.
formal_notation: StringFormal logic notation of the evaluated expression.
correlation_id: Option<String>Optional correlation ID from external system (e.g., request ID, patient ID).
Trait Implementations§
Source§impl Clone for AuditEntry
impl Clone for AuditEntry
Source§fn clone(&self) -> AuditEntry
fn clone(&self) -> AuditEntry
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 moreAuto Trait Implementations§
impl Freeze for AuditEntry
impl RefUnwindSafe for AuditEntry
impl Send for AuditEntry
impl Sync for AuditEntry
impl Unpin for AuditEntry
impl UnsafeUnpin for AuditEntry
impl UnwindSafe for AuditEntry
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