Type Alias SecretString
pub type SecretString = SecretBox<str>;Expand description
Secret string type.
This is a type alias for [SecretBox<str>] which supports some helpful trait impls.
Notably it has a From<String> impl which is the preferred method for construction.
Aliased Type§
struct SecretString { /* private fields */ }Trait Implementations§
Source§impl WellKnown for SecretString
impl WellKnown for SecretString
Source§const DE: Self::Deserializer = FromSecretString
const DE: Self::Deserializer = FromSecretString
Deserializer instance.
Source§type Deserializer = FromSecretString
type Deserializer = FromSecretString
Type of the deserializer used for this type.