pub struct DynamicSecretTmpCredsUpdate {
pub host: String,
pub json: Option<bool>,
pub name: String,
pub new_ttl_min: i64,
pub tmp_creds_id: String,
pub token: Option<String>,
pub uid_token: Option<String>,
}Expand description
DynamicSecretTmpCredsUpdate : dynamicSecretTmpCredsUpdate is a command that updates dynamic secret temp creds
Fields§
§host: StringHost
json: Option<bool>Set output format to JSON
name: StringDynamic secret name
new_ttl_min: i64New TTL in Minutes
tmp_creds_id: StringTmp Creds ID
token: Option<String>Authentication token (see /auth and /configure)
uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
Implementations§
Trait Implementations§
Source§impl Clone for DynamicSecretTmpCredsUpdate
impl Clone for DynamicSecretTmpCredsUpdate
Source§fn clone(&self) -> DynamicSecretTmpCredsUpdate
fn clone(&self) -> DynamicSecretTmpCredsUpdate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DynamicSecretTmpCredsUpdate
impl Debug for DynamicSecretTmpCredsUpdate
Source§impl Default for DynamicSecretTmpCredsUpdate
impl Default for DynamicSecretTmpCredsUpdate
Source§fn default() -> DynamicSecretTmpCredsUpdate
fn default() -> DynamicSecretTmpCredsUpdate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DynamicSecretTmpCredsUpdate
impl<'de> Deserialize<'de> for DynamicSecretTmpCredsUpdate
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DynamicSecretTmpCredsUpdate
impl PartialEq for DynamicSecretTmpCredsUpdate
Source§fn eq(&self, other: &DynamicSecretTmpCredsUpdate) -> bool
fn eq(&self, other: &DynamicSecretTmpCredsUpdate) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DynamicSecretTmpCredsUpdate
Auto Trait Implementations§
impl Freeze for DynamicSecretTmpCredsUpdate
impl RefUnwindSafe for DynamicSecretTmpCredsUpdate
impl Send for DynamicSecretTmpCredsUpdate
impl Sync for DynamicSecretTmpCredsUpdate
impl Unpin for DynamicSecretTmpCredsUpdate
impl UnsafeUnpin for DynamicSecretTmpCredsUpdate
impl UnwindSafe for DynamicSecretTmpCredsUpdate
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more