common_base::secrets

Type Alias SecretString

source
pub type SecretString = SecretBox<String>;
Expand description

Wrapper type for strings that contains secrets. See also SecretBox.

Aliased Type§

struct SecretString {
    inner_secret: Box<String>,
}

Fields§

§inner_secret: Box<String>

Trait Implementations§

source§

impl From<String> for SecretString

source§

fn from(value: String) -> Self

Converts to this type from the input type.