pub enum PiiInputMode {
Allow,
Warn,
BlockDirect,
BlockAll,
}Expand description
PII detection mode
Variants§
Allow
Allow all input (no PII checking)
Warn
Warn if PII detected but allow
BlockDirect
Block if Direct PII detected (email, SSN, etc.)
BlockAll
Block if any PII detected
Trait Implementations§
Source§impl Clone for PiiInputMode
impl Clone for PiiInputMode
Source§fn clone(&self) -> PiiInputMode
fn clone(&self) -> PiiInputMode
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 PiiInputMode
impl Debug for PiiInputMode
Source§impl Default for PiiInputMode
impl Default for PiiInputMode
Source§fn default() -> PiiInputMode
fn default() -> PiiInputMode
Returns the “default value” for a type. Read more
Source§impl PartialEq for PiiInputMode
impl PartialEq for PiiInputMode
impl Copy for PiiInputMode
impl Eq for PiiInputMode
impl StructuralPartialEq for PiiInputMode
Auto Trait Implementations§
impl Freeze for PiiInputMode
impl RefUnwindSafe for PiiInputMode
impl Send for PiiInputMode
impl Sync for PiiInputMode
impl Unpin for PiiInputMode
impl UnsafeUnpin for PiiInputMode
impl UnwindSafe for PiiInputMode
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.