pub enum SecretRedaction {
All,
KeepLast(usize),
KeepPrefixSuffix {
prefix: usize,
suffix: usize,
},
}Expand description
Secret redaction strategy labels.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for SecretRedaction
impl Clone for SecretRedaction
Source§fn clone(&self) -> SecretRedaction
fn clone(&self) -> SecretRedaction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SecretRedaction
impl Debug for SecretRedaction
Source§impl Hash for SecretRedaction
impl Hash for SecretRedaction
Source§impl PartialEq for SecretRedaction
impl PartialEq for SecretRedaction
Source§fn eq(&self, other: &SecretRedaction) -> bool
fn eq(&self, other: &SecretRedaction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SecretRedaction
impl Eq for SecretRedaction
impl StructuralPartialEq for SecretRedaction
Auto Trait Implementations§
impl Freeze for SecretRedaction
impl RefUnwindSafe for SecretRedaction
impl Send for SecretRedaction
impl Sync for SecretRedaction
impl Unpin for SecretRedaction
impl UnsafeUnpin for SecretRedaction
impl UnwindSafe for SecretRedaction
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