pub struct NullStrategy;Expand description
Strategy that replaces all values with NULL
Implementations§
Source§impl NullStrategy
impl NullStrategy
Trait Implementations§
Source§impl Clone for NullStrategy
impl Clone for NullStrategy
Source§fn clone(&self) -> NullStrategy
fn clone(&self) -> NullStrategy
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 NullStrategy
impl Debug for NullStrategy
Source§impl Default for NullStrategy
impl Default for NullStrategy
Source§fn default() -> NullStrategy
fn default() -> NullStrategy
Returns the “default value” for a type. Read more
Source§impl Strategy for NullStrategy
impl Strategy for NullStrategy
Source§fn apply(&self, _value: &RedactValue, _rng: &mut dyn RngCore) -> RedactValue
fn apply(&self, _value: &RedactValue, _rng: &mut dyn RngCore) -> RedactValue
Apply the strategy to redact a value
Source§fn kind(&self) -> StrategyKind
fn kind(&self) -> StrategyKind
Get the strategy kind
Auto Trait Implementations§
impl Freeze for NullStrategy
impl RefUnwindSafe for NullStrategy
impl Send for NullStrategy
impl Sync for NullStrategy
impl Unpin for NullStrategy
impl UnwindSafe for NullStrategy
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