pub struct KeywordMatcherConfig {
pub keywords: Vec<String>,
pub case_sensitive: bool,
pub sensitive_keywords: Vec<String>,
pub tee_threshold: SensitivityLevel,
}Expand description
Keyword matcher configuration
Fields§
§keywords: Vec<String>§case_sensitive: bool§sensitive_keywords: Vec<String>§tee_threshold: SensitivityLevelTrait Implementations§
Source§impl Clone for KeywordMatcherConfig
impl Clone for KeywordMatcherConfig
Source§fn clone(&self) -> KeywordMatcherConfig
fn clone(&self) -> KeywordMatcherConfig
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 KeywordMatcherConfig
impl Debug for KeywordMatcherConfig
Source§impl Default for KeywordMatcherConfig
impl Default for KeywordMatcherConfig
Source§impl<'de> Deserialize<'de> for KeywordMatcherConfig
impl<'de> Deserialize<'de> for KeywordMatcherConfig
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 KeywordMatcherConfig
impl RefUnwindSafe for KeywordMatcherConfig
impl Send for KeywordMatcherConfig
impl Sync for KeywordMatcherConfig
impl Unpin for KeywordMatcherConfig
impl UnsafeUnpin for KeywordMatcherConfig
impl UnwindSafe for KeywordMatcherConfig
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