pub struct RotatedSecretGetValue {
pub host: Option<String>,
pub ignore_cache: Option<String>,
pub json: Option<bool>,
pub name: String,
pub token: Option<String>,
pub uid_token: Option<String>,
pub version: Option<i32>,
}Fields§
§host: Option<String>Get rotated secret value of specific Host (relevant only for Linked Target)
ignore_cache: Option<String>Retrieve the Secret value without checking the Gateway’s cache [true/false]. This flag is only relevant when using the RestAPI
json: Option<bool>Set output format to JSON
name: StringSecret name
token: Option<String>Authentication token (see /auth and /configure)
uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
version: Option<i32>Secret version
Implementations§
Source§impl RotatedSecretGetValue
impl RotatedSecretGetValue
pub fn new(name: String) -> RotatedSecretGetValue
Trait Implementations§
Source§impl Clone for RotatedSecretGetValue
impl Clone for RotatedSecretGetValue
Source§fn clone(&self) -> RotatedSecretGetValue
fn clone(&self) -> RotatedSecretGetValue
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 RotatedSecretGetValue
impl Debug for RotatedSecretGetValue
Source§impl Default for RotatedSecretGetValue
impl Default for RotatedSecretGetValue
Source§fn default() -> RotatedSecretGetValue
fn default() -> RotatedSecretGetValue
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RotatedSecretGetValue
impl<'de> Deserialize<'de> for RotatedSecretGetValue
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 RotatedSecretGetValue
impl PartialEq for RotatedSecretGetValue
Source§fn eq(&self, other: &RotatedSecretGetValue) -> bool
fn eq(&self, other: &RotatedSecretGetValue) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RotatedSecretGetValue
impl Serialize for RotatedSecretGetValue
impl StructuralPartialEq for RotatedSecretGetValue
Auto Trait Implementations§
impl Freeze for RotatedSecretGetValue
impl RefUnwindSafe for RotatedSecretGetValue
impl Send for RotatedSecretGetValue
impl Sync for RotatedSecretGetValue
impl Unpin for RotatedSecretGetValue
impl UnsafeUnpin for RotatedSecretGetValue
impl UnwindSafe for RotatedSecretGetValue
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