pub struct OutputSanitizerConfig {
pub categories: CategoryConfig,
pub redaction_strategies: HashMap<SensitiveCategory, RedactionStrategy>,
pub entropy: EntropyConfig,
pub allowlist: AllowlistConfig,
pub denylist: DenylistConfig,
pub max_input_bytes: usize,
pub include_findings: bool,
}Expand description
Output sanitizer configuration.
Fields§
§categories: CategoryConfig§redaction_strategies: HashMap<SensitiveCategory, RedactionStrategy>§entropy: EntropyConfig§allowlist: AllowlistConfig§denylist: DenylistConfig§max_input_bytes: usize§include_findings: boolTrait Implementations§
Source§impl Clone for OutputSanitizerConfig
impl Clone for OutputSanitizerConfig
Source§fn clone(&self) -> OutputSanitizerConfig
fn clone(&self) -> OutputSanitizerConfig
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 OutputSanitizerConfig
impl Debug for OutputSanitizerConfig
Source§impl Default for OutputSanitizerConfig
impl Default for OutputSanitizerConfig
Source§impl<'de> Deserialize<'de> for OutputSanitizerConfig
impl<'de> Deserialize<'de> for OutputSanitizerConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for OutputSanitizerConfig
impl RefUnwindSafe for OutputSanitizerConfig
impl Send for OutputSanitizerConfig
impl Sync for OutputSanitizerConfig
impl Unpin for OutputSanitizerConfig
impl UnsafeUnpin for OutputSanitizerConfig
impl UnwindSafe for OutputSanitizerConfig
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