pub struct AuditLoggingSettings {
pub enabled: bool,
pub log_level: String,
pub include_sensitive_data: bool,
pub async_logging: bool,
pub buffer_size: u32,
pub flush_interval_secs: u32,
}Expand description
Audit logging subsystem settings loaded from the compiled schema.
Fields§
§enabled: boolWhether audit logging is active.
log_level: StringMinimum tracing level for audit records (e.g., "info", "debug").
include_sensitive_data: boolWhen true, raw credential values may appear in log records.
Must be false in production deployments.
async_logging: boolWhen true, log records are written from a background task rather than
the request thread, reducing latency at the cost of some delivery guarantees.
buffer_size: u32Number of audit records to buffer before flushing (async mode only).
flush_interval_secs: u32How frequently (in seconds) the async buffer is flushed.
Trait Implementations§
Source§impl Clone for AuditLoggingSettings
impl Clone for AuditLoggingSettings
Source§fn clone(&self) -> AuditLoggingSettings
fn clone(&self) -> AuditLoggingSettings
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 moreAuto Trait Implementations§
impl Freeze for AuditLoggingSettings
impl RefUnwindSafe for AuditLoggingSettings
impl Send for AuditLoggingSettings
impl Sync for AuditLoggingSettings
impl Unpin for AuditLoggingSettings
impl UnsafeUnpin for AuditLoggingSettings
impl UnwindSafe for AuditLoggingSettings
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more