pub struct AuditContext { /* private fields */ }Expand description
Optional transport context attached to audit events.
The context intentionally contains only coarse correlation fields. API key ids and request args stay in their existing dedicated fields; caller-supplied session values are length-limited and stripped of control characters before they are written to JSONL.
Implementations§
Trait Implementations§
Source§impl Clone for AuditContext
impl Clone for AuditContext
Source§fn clone(&self) -> AuditContext
fn clone(&self) -> AuditContext
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 AuditContext
impl Debug for AuditContext
Source§impl Default for AuditContext
impl Default for AuditContext
Source§fn default() -> AuditContext
fn default() -> AuditContext
Returns the “default value” for a type. Read more
Source§impl PartialEq for AuditContext
impl PartialEq for AuditContext
impl Eq for AuditContext
impl StructuralPartialEq for AuditContext
Auto Trait Implementations§
impl Freeze for AuditContext
impl RefUnwindSafe for AuditContext
impl Send for AuditContext
impl Sync for AuditContext
impl Unpin for AuditContext
impl UnsafeUnpin for AuditContext
impl UnwindSafe for AuditContext
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more