pub type SecretString = Secret<String>;Expand description
Secret string type — mirrors secrecy::SecretString (v0.8).
Type alias for Secret<String>. Implements FromStr, Clone (via
String: CloneableSecret), and Debug (via String: DebugSecret).
Note: secrecy 0.10’s SecretString is SecretBox<str> (different type).
Use v10::SecretString when migrating to v0.10 semantics.
Aliased Type§
pub struct SecretString { /* private fields */ }