pub struct AuditEntry {
pub caller: String,
pub target: String,
pub action: AuditAction,
pub tool: String,
pub evidence_class: EvidenceClass,
pub timestamp: String,
pub duration_ms: u64,
pub success: bool,
}Expand description
A single audited interaction in the ledger.
Fields§
§caller: StringThe agent or system that performed the action.
target: StringThe resource or entity acted upon.
action: AuditActionWhat kind of action was performed.
tool: StringThe tool used to perform the action.
evidence_class: EvidenceClassEvidence classification of the action’s output.
timestamp: StringISO-8601 timestamp of when the action occurred.
duration_ms: u64Duration of the action in milliseconds.
success: boolWhether the action succeeded.
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 · 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 AuditEntry
impl Debug for AuditEntry
Source§impl<'de> Deserialize<'de> for AuditEntry
impl<'de> Deserialize<'de> for AuditEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto 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