[][src]Struct credstash::CredstashItem

pub struct CredstashItem {
    pub hmac_key: Key,
    pub credential_name: String,
    pub credential_value: Vec<u8>,
    pub hmac_digest: Vec<u8>,
    pub digest_algorithm: Algorithm,
    pub version: String,
    pub comment: Option<String>,
    // some fields omitted
}

Reprsents the Decrypted row for the credential_name

Fields

hmac_key: Key

HMAC signing key with digest algorithm and the key value

credential_name: String

Credential name which has been stored.

credential_value: Vec<u8>

Decrypted credential value. This corresponds with the credential_name.

hmac_digest: Vec<u8>

HMAC Digest of the encrypted text

digest_algorithm: Algorithm

Digest algorithm used for computation of HMAC

version: String

The version of the CredstashItem

comment: Option<String>

Optional comment for the CredstashItem

Trait Implementations

impl Clone for CredstashItem[src]

impl Debug for CredstashItem[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> 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.