pub struct DetectionConfig {
pub secrets: bool,
pub financial: bool,
pub dates: bool,
pub emails: bool,
pub phone_numbers: bool,
pub ip_addresses: bool,
pub urls_internal: bool,
pub ner: NerConfig,
pub custom: CustomConfig,
pub overrides: OverrideConfig,
pub resolver: ResolverConfig,
}Fields§
§secrets: bool§financial: bool§dates: bool§emails: bool§phone_numbers: bool§ip_addresses: bool§urls_internal: bool§ner: NerConfig§custom: CustomConfig§overrides: OverrideConfig§resolver: ResolverConfigTrait Implementations§
Source§impl Clone for DetectionConfig
impl Clone for DetectionConfig
Source§fn clone(&self) -> DetectionConfig
fn clone(&self) -> DetectionConfig
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 DetectionConfig
impl Debug for DetectionConfig
Source§impl<'de> Deserialize<'de> for DetectionConfig
impl<'de> Deserialize<'de> for DetectionConfig
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 DetectionConfig
impl RefUnwindSafe for DetectionConfig
impl Send for DetectionConfig
impl Sync for DetectionConfig
impl Unpin for DetectionConfig
impl UnsafeUnpin for DetectionConfig
impl UnwindSafe for DetectionConfig
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