pub struct MaskedSecret(/* private fields */);Expand description
A wrapper that never exposes its value through Debug or Display.
Implementations§
Source§impl MaskedSecret
impl MaskedSecret
Trait Implementations§
Source§impl Clone for MaskedSecret
impl Clone for MaskedSecret
Source§fn clone(&self) -> MaskedSecret
fn clone(&self) -> MaskedSecret
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 MaskedSecret
impl Debug for MaskedSecret
Source§impl Display for MaskedSecret
impl Display for MaskedSecret
Source§impl PartialEq for MaskedSecret
impl PartialEq for MaskedSecret
Source§fn eq(&self, other: &MaskedSecret) -> bool
fn eq(&self, other: &MaskedSecret) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for MaskedSecret
impl StructuralPartialEq for MaskedSecret
Auto Trait Implementations§
impl Freeze for MaskedSecret
impl RefUnwindSafe for MaskedSecret
impl Send for MaskedSecret
impl Sync for MaskedSecret
impl Unpin for MaskedSecret
impl UnsafeUnpin for MaskedSecret
impl UnwindSafe for MaskedSecret
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