pub struct SecretHash(/* private fields */);Expand description
A cryptographically secure hash of a secret
Implementations§
Trait Implementations§
Source§impl AsRef<str> for SecretHash
impl AsRef<str> for SecretHash
Source§impl Clone for SecretHash
impl Clone for SecretHash
Source§fn clone(&self) -> SecretHash
fn clone(&self) -> SecretHash
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 SecretHash
impl Debug for SecretHash
Source§impl<'de> Deserialize<'de> for SecretHash
impl<'de> Deserialize<'de> for SecretHash
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<String> for SecretHash
impl From<String> for SecretHash
Source§impl PartialEq for SecretHash
impl PartialEq for SecretHash
Source§fn eq(&self, other: &SecretHash) -> bool
fn eq(&self, other: &SecretHash) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SecretHash
impl Serialize for SecretHash
impl Eq for SecretHash
impl StructuralPartialEq for SecretHash
Auto Trait Implementations§
impl Freeze for SecretHash
impl RefUnwindSafe for SecretHash
impl Send for SecretHash
impl Sync for SecretHash
impl Unpin for SecretHash
impl UnsafeUnpin for SecretHash
impl UnwindSafe for SecretHash
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