pub struct DictionaryEntry {
pub term: String,
pub kind: String,
pub match_case: bool,
}Expand description
A fixed term to redact.
Fields§
§term: StringThe text to find. It matches only as a whole word.
kind: StringThe placeholder kind, such as CLIENT. Written type in YAML.
match_case: boolMatch the term’s case exactly. Off by default.
Trait Implementations§
Source§impl Clone for DictionaryEntry
impl Clone for DictionaryEntry
Source§impl Debug for DictionaryEntry
impl Debug for DictionaryEntry
Source§impl<'de> Deserialize<'de> for DictionaryEntry
impl<'de> Deserialize<'de> for DictionaryEntry
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
Source§impl PartialEq for DictionaryEntry
impl PartialEq for DictionaryEntry
Source§impl Serialize for DictionaryEntry
impl Serialize for DictionaryEntry
impl StructuralPartialEq for DictionaryEntry
Auto Trait Implementations§
impl Freeze for DictionaryEntry
impl RefUnwindSafe for DictionaryEntry
impl Send for DictionaryEntry
impl Sync for DictionaryEntry
impl Unpin for DictionaryEntry
impl UnsafeUnpin for DictionaryEntry
impl UnwindSafe for DictionaryEntry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more