pub struct AuditEntry {
pub sequence: u64,
pub timestamp: u64,
pub pid: u64,
pub tid: u64,
pub category: AuditCategory,
pub severity: AuditSeverity,
pub message: String,
pub success: bool,
pub coalesce_count: u32,
}Expand description
A structured audit log entry.
Fields§
§sequence: u64Monotonic sequence number (unique per entry)
timestamp: u64Timestamp in seconds since boot
pid: u64Process ID that generated the event
tid: u64Thread ID within the process
category: AuditCategoryEvent category
severity: AuditSeveritySeverity level
message: StringShort description of the event
success: boolWhether the operation succeeded
coalesce_count: u32How many times this event was coalesced (1 = no coalescing)
Implementations§
Source§impl AuditEntry
impl AuditEntry
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§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 UnwindSafe for AuditEntry
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)