pub struct GetSecretValue {
pub accessibility: Option<String>,
pub ignore_cache: Option<String>,
pub json: Option<bool>,
pub names: Vec<String>,
pub pretty_print: Option<bool>,
pub token: Option<String>,
pub uid_token: Option<String>,
pub version: Option<i32>,
}Fields§
§accessibility: Option<String>for personal password manager
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
names: Vec<String>Secret name
pretty_print: Option<bool>Print the secret value with json-pretty-print (not relevent to SDK)
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, if negative value N is provided the last N versions will return (maximum 20)
Implementations§
Source§impl GetSecretValue
impl GetSecretValue
pub fn new(names: Vec<String>) -> GetSecretValue
Trait Implementations§
Source§impl Clone for GetSecretValue
impl Clone for GetSecretValue
Source§fn clone(&self) -> GetSecretValue
fn clone(&self) -> GetSecretValue
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 GetSecretValue
impl Debug for GetSecretValue
Source§impl Default for GetSecretValue
impl Default for GetSecretValue
Source§fn default() -> GetSecretValue
fn default() -> GetSecretValue
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetSecretValue
impl<'de> Deserialize<'de> for GetSecretValue
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 GetSecretValue
impl PartialEq for GetSecretValue
Source§fn eq(&self, other: &GetSecretValue) -> bool
fn eq(&self, other: &GetSecretValue) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GetSecretValue
impl Serialize for GetSecretValue
impl StructuralPartialEq for GetSecretValue
Auto Trait Implementations§
impl Freeze for GetSecretValue
impl RefUnwindSafe for GetSecretValue
impl Send for GetSecretValue
impl Sync for GetSecretValue
impl Unpin for GetSecretValue
impl UnsafeUnpin for GetSecretValue
impl UnwindSafe for GetSecretValue
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