Struct vault_api::models::CreateTokenParameters
[−]
[src]
pub struct CreateTokenParameters { pub id: Option<String>, pub policies: Option<Vec<String>>, pub no_parent: Option<bool>, pub no_default_policy: Option<bool>, pub renewable: Option<bool>, pub ttl: Option<String>, pub explicit_max_ttl: Option<bool>, pub display_name: Option<String>, pub num_uses: Option<i32>, pub period: Option<String>, }
Fields
id: Option<String>
policies: Option<Vec<String>>
no_parent: Option<bool>
no_default_policy: Option<bool>
renewable: Option<bool>
ttl: Option<String>
explicit_max_ttl: Option<bool>
display_name: Option<String>
num_uses: Option<i32>
period: Option<String>
Methods
impl CreateTokenParameters
[src]
pub fn new() -> CreateTokenParameters
[src]
Trait Implementations
impl Debug for CreateTokenParameters
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for CreateTokenParameters
[src]
fn clone(&self) -> CreateTokenParameters
[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 CreateTokenParameters
[src]
fn eq(&self, __arg_0: &CreateTokenParameters) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CreateTokenParameters) -> bool
[src]
This method tests for !=
.