pub struct SecretValue(/* private fields */);Expand description
A secret’s value. Its Debug never shows it.
Implementations§
Trait Implementations§
Source§impl Clone for SecretValue
impl Clone for SecretValue
Source§impl Debug for SecretValue
impl Debug for SecretValue
impl Eq for SecretValue
Source§impl From<&str> for SecretValue
impl From<&str> for SecretValue
Source§fn from(value: &str) -> SecretValue
fn from(value: &str) -> SecretValue
Converts to this type from the input type.
Source§impl From<String> for SecretValue
impl From<String> for SecretValue
Source§fn from(value: String) -> SecretValue
fn from(value: String) -> SecretValue
Converts to this type from the input type.
Source§impl PartialEq for SecretValue
impl PartialEq for SecretValue
impl StructuralPartialEq for SecretValue
Auto Trait Implementations§
impl Freeze for SecretValue
impl RefUnwindSafe for SecretValue
impl Send for SecretValue
impl Sync for SecretValue
impl Unpin for SecretValue
impl UnsafeUnpin for SecretValue
impl UnwindSafe for SecretValue
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
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.