pub enum PiiMode {
Static(Pii),
Dynamic(fn(&ProcessingState<'_>) -> Pii),
}
Expand description
A static or dynamic Pii
value.
Variants§
Static(Pii)
A static value.
Dynamic(fn(&ProcessingState<'_>) -> Pii)
A dynamic value, computed based on a ProcessingState
.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PiiMode
impl RefUnwindSafe for PiiMode
impl Send for PiiMode
impl Sync for PiiMode
impl Unpin for PiiMode
impl UnwindSafe for PiiMode
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