pub struct AuditEntry {
pub sequence: u64,
pub timestamp_us: u64,
pub kind: AuditEventKind,
pub severity: AuditSeverity,
pub actor: String,
pub target: Option<String>,
pub message: String,
pub metadata: Vec<(String, String)>,
}Expand description
A single entry in the audit log.
Fields§
§sequence: u64Monotonically increasing sequence number.
timestamp_us: u64Wall-clock timestamp (microseconds since Unix epoch).
kind: AuditEventKindKind of event.
severity: AuditSeveritySeverity level.
actor: StringActor that caused the event (e.g., worker ID, coordinator ID, user).
target: Option<String>Optional target entity (e.g., job ID, worker ID).
message: StringHuman-readable description of the event.
metadata: Vec<(String, String)>Optional structured metadata as key-value pairs.
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 moreSource§impl Debug for AuditEntry
impl Debug for AuditEntry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request