pub enum Redaction {
Mask,
Hash,
Remove,
}Expand description
A redaction strategy.
Variants§
Mask
Replace the value with "****".
Hash
Replace the value with "sha256:<hex>" of its bytes.
Remove
Remove the field member entirely.
Trait Implementations§
impl Copy for Redaction
impl Eq for Redaction
impl StructuralPartialEq for Redaction
Auto Trait Implementations§
impl Freeze for Redaction
impl RefUnwindSafe for Redaction
impl Send for Redaction
impl Sync for Redaction
impl Unpin for Redaction
impl UnsafeUnpin for Redaction
impl UnwindSafe for Redaction
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