pub struct Secret;Expand description
Classification marker for secrets such as passwords or private keys.
Trait Implementations§
Source§impl RedactionPolicy for Secret
Default policies for built-in classifications.
impl RedactionPolicy for Secret
Default policies for built-in classifications.
Source§fn policy() -> TextRedactionPolicy
fn policy() -> TextRedactionPolicy
Returns the policy for this classification.
impl Classification for Secret
impl Copy for Secret
Auto Trait Implementations§
impl Freeze for Secret
impl RefUnwindSafe for Secret
impl Send for Secret
impl Sync for Secret
impl Unpin for Secret
impl UnwindSafe for Secret
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