pub struct SecretValue { /* private fields */ }Expand description
Secret string wrapper that always renders [REDACTED] in Debug and Display.
Implementations§
Source§impl SecretValue
Constructors and safe exposure methods for SecretValue.
impl SecretValue
Constructors and safe exposure methods for SecretValue.
Trait Implementations§
Source§impl Clone for SecretValue
impl Clone for SecretValue
Source§impl Debug for SecretValue
Redacts SecretValue in Debug output.
impl Debug for SecretValue
Redacts SecretValue in Debug output.
Source§impl Display for SecretValue
Redacts SecretValue in Display output.
impl Display for SecretValue
Redacts SecretValue in Display output.
impl Eq for SecretValue
Source§impl PartialEq for SecretValue
impl PartialEq for SecretValue
impl StructuralPartialEq for SecretValue
Auto Trait Implementations§
impl Forget for SecretValue
impl Freeze for SecretValue
impl Move for SecretValue
impl RefUnwindSafe for SecretValue
impl Send for SecretValuewhere
RawVecInner: Send,
impl Sync for SecretValuewhere
RawVecInner: Sync,
impl Unpin for SecretValue
impl UnsafeUnpin for SecretValue
impl UnwindSafe for SecretValuewhere
RawVecInner: UnwindSafe,
Blanket Implementations§
impl<T> AnySend for T
impl<T> AnySendClone for T
impl<T> AnySendSync for T
impl<T> AnySendSyncClone for T
impl<T> AnySync for T
impl<T> AnySyncClone for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.