struct PiiDetector {
pii_type: PiiType,
regex: Regex,
confidence: f32,
}Expand description
A single PII detector: a compiled regex + metadata.
Fields§
§pii_type: PiiType§regex: Regex§confidence: f32Auto Trait Implementations§
impl Freeze for PiiDetector
impl RefUnwindSafe for PiiDetector
impl Send for PiiDetector
impl Sync for PiiDetector
impl Unpin for PiiDetector
impl UnwindSafe for PiiDetector
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