pub struct SanitizeConfig {
pub strip_paths: bool,
pub strip_env_vars: bool,
pub exclude_patterns: Vec<String>,
}Expand description
Configuration for sanitization
Fields§
§strip_paths: boolStrip absolute file paths (replace with relative)
strip_env_vars: boolStrip environment variable values
exclude_patterns: Vec<String>Patterns to exclude (glob-like)
Trait Implementations§
Source§impl Clone for SanitizeConfig
impl Clone for SanitizeConfig
Source§fn clone(&self) -> SanitizeConfig
fn clone(&self) -> SanitizeConfig
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 SanitizeConfig
impl Debug for SanitizeConfig
Auto Trait Implementations§
impl Freeze for SanitizeConfig
impl RefUnwindSafe for SanitizeConfig
impl Send for SanitizeConfig
impl Sync for SanitizeConfig
impl Unpin for SanitizeConfig
impl UnwindSafe for SanitizeConfig
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