pub struct AuditSinkConfig {
pub write_stdout: bool,
pub file_path: Option<PathBuf>,
}Expand description
Configuration for the audit sink.
Fields§
§write_stdout: boolWrite JSON lines to stdout (12-factor compatible).
file_path: Option<PathBuf>Optional path to an append-only audit log file.
Trait Implementations§
Source§impl Clone for AuditSinkConfig
impl Clone for AuditSinkConfig
Source§fn clone(&self) -> AuditSinkConfig
fn clone(&self) -> AuditSinkConfig
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 AuditSinkConfig
impl Debug for AuditSinkConfig
Auto Trait Implementations§
impl Freeze for AuditSinkConfig
impl RefUnwindSafe for AuditSinkConfig
impl Send for AuditSinkConfig
impl Sync for AuditSinkConfig
impl Unpin for AuditSinkConfig
impl UnsafeUnpin for AuditSinkConfig
impl UnwindSafe for AuditSinkConfig
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