[][src]Struct hashicorp_vault::client::Auth

pub struct Auth {
    pub client_token: String,
    pub accessor: Option<String>,
    pub policies: Vec<String>,
    pub metadata: Option<HashMap<String, String>>,
    pub lease_duration: Option<VaultDuration>,
    pub renewable: bool,
}

Vault auth

Fields

client_token: String

Client token id

accessor: Option<String>

Accessor

policies: Vec<String>

Policies

metadata: Option<HashMap<String, String>>

Metadata

lease_duration: Option<VaultDuration>

Lease duration

renewable: bool

True if renewable

Trait Implementations

impl Debug for Auth[src]

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

Auto Trait Implementations

impl RefUnwindSafe for Auth

impl Send for Auth

impl Sync for Auth

impl Unpin for Auth

impl UnwindSafe for Auth

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, 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 Err = <U as TryFrom<T>>::Err

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<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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