[][src]Struct t_rust_less_lib::api::SecretEntry

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,
}

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: Stringname: Stringsecret_type: SecretTypetags: Vec<String>urls: Vec<String>timestamp: ZeroizeDateTimedeleted: bool

Implementations

impl SecretEntry[src]

pub fn from_reader(reader: Reader<'_>) -> Result<Self>[src]

pub fn to_builder(&self, builder: Builder<'_>)[src]

Trait Implementations

impl Clone for SecretEntry[src]

impl Debug for SecretEntry[src]

impl<'de> Deserialize<'de> for SecretEntry[src]

impl Drop for SecretEntry[src]

impl Eq for SecretEntry[src]

impl Ord for SecretEntry[src]

impl PartialEq<SecretEntry> for SecretEntry[src]

impl PartialOrd<SecretEntry> for SecretEntry[src]

impl Serialize for SecretEntry[src]

impl StructuralEq for SecretEntry[src]

impl Zeroize for SecretEntry[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<Z> Zeroize for Z where
    Z: DefaultIsZeroes
[src]