pub struct SanitizationConfig {
pub enabled: bool,
pub preserve_ips: bool,
pub preserve_uuids: bool,
pub replacement: String,
}
Expand description
Sanitization configuration
Fields§
§enabled: bool
Enable sanitization (typically true in production)
preserve_ips: bool
Preserve IP addresses in logs (might be needed for debugging)
preserve_uuids: bool
Preserve UUIDs in logs (needed for Loxone device identification)
replacement: String
Replacement string for sensitive data
Trait Implementations§
Source§impl Clone for SanitizationConfig
impl Clone for SanitizationConfig
Source§fn clone(&self) -> SanitizationConfig
fn clone(&self) -> SanitizationConfig
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 SanitizationConfig
impl Debug for SanitizationConfig
Auto Trait Implementations§
impl Freeze for SanitizationConfig
impl RefUnwindSafe for SanitizationConfig
impl Send for SanitizationConfig
impl Sync for SanitizationConfig
impl Unpin for SanitizationConfig
impl UnwindSafe for SanitizationConfig
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