pub enum Redaction {
Full,
Partial,
Hash,
}Expand description
Redaction marker for sensitive data.
Variants§
Full
Redact completely (show only [REDACTED])
Partial
Show partial data (e.g., last 4 digits)
Hash
Hash the value
Implementations§
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 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