Struct t_rust_less_lib::api::Secret [−][src]
pub struct Secret { pub id: String, pub secret_type: SecretType, pub current: SecretVersion, pub current_block_id: String, pub versions: Vec<SecretVersionRef>, pub password_strengths: HashMap<String, PasswordStrength>, }
Expand description
Reperentation of a secret with all its versions.
The is the default view when retrieving a specific secret.
Fields
id: String
secret_type: SecretType
current: SecretVersion
current_block_id: String
versions: Vec<SecretVersionRef>
password_strengths: HashMap<String, PasswordStrength>
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for Secret
impl UnwindSafe for Secret
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self