Struct t_rust_less_lib::api::SecretEntry [−][src]
pub struct SecretEntry { pub id: String, pub name: String, pub secret_type: SecretType, pub tags: Vec<String>, pub urls: Vec<String>, pub timestamp: ZeroizeDateTime, pub deleted: bool, }
Expand description
SecretEntry contains all the information of a secrets that should be indexed.
Even though a SecretEntry does no contain a password it is still supposed to be sensitive data.
See SecretVersion for further detail.
Fields
id: String
name: String
secret_type: SecretType
urls: Vec<String>
timestamp: ZeroizeDateTime
deleted: bool
Implementations
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
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for SecretEntry
impl Send for SecretEntry
impl Sync for SecretEntry
impl Unpin for SecretEntry
impl UnwindSafe for SecretEntry
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self