Struct vault_api::models::AuthResponse
[−]
[src]
pub struct AuthResponse { pub request_id: String, pub lease_duration: i32, pub lease_id: String, pub renewable: bool, pub auth: Option<AuthResponseAuth>, }
Fields
request_id: String
lease_duration: i32
lease_id: String
renewable: bool
auth: Option<AuthResponseAuth>
Methods
impl AuthResponse
[src]
pub fn new(
request_id: String,
lease_duration: i32,
lease_id: String,
renewable: bool
) -> AuthResponse
[src]
request_id: String,
lease_duration: i32,
lease_id: String,
renewable: bool
) -> AuthResponse
Trait Implementations
impl Debug for AuthResponse
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for AuthResponse
[src]
fn clone(&self) -> AuthResponse
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for AuthResponse
[src]
fn eq(&self, __arg_0: &AuthResponse) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &AuthResponse) -> bool
[src]
This method tests for !=
.