Type Alias smart_config::value::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

§

type Deserializer = FromSecretString

Type of the deserializer used for this type.
source§

const DE: Self::Deserializer = FromSecretString

Deserializer instance.
source§

impl WellKnownOption for SecretString