pub struct RotateSecret {
pub rotate_all_services_boolean: Option<bool>,
pub json: Option<bool>,
pub name: String,
pub rotate_all_services: Option<String>,
pub token: Option<String>,
pub uid_token: Option<String>,
}Fields§
§rotate_all_services_boolean: Option<bool>§json: Option<bool>Set output format to JSON
name: StringSecret name (Rotated Secret or Custom Dynamic Secret)
rotate_all_services: Option<String>Rotate all associated services
token: Option<String>Authentication token (see /auth and /configure)
uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
Implementations§
Source§impl RotateSecret
impl RotateSecret
pub fn new(name: String) -> RotateSecret
Trait Implementations§
Source§impl Clone for RotateSecret
impl Clone for RotateSecret
Source§fn clone(&self) -> RotateSecret
fn clone(&self) -> RotateSecret
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 RotateSecret
impl Debug for RotateSecret
Source§impl Default for RotateSecret
impl Default for RotateSecret
Source§fn default() -> RotateSecret
fn default() -> RotateSecret
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RotateSecret
impl<'de> Deserialize<'de> for RotateSecret
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 RotateSecret
impl PartialEq for RotateSecret
Source§fn eq(&self, other: &RotateSecret) -> bool
fn eq(&self, other: &RotateSecret) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RotateSecret
impl Serialize for RotateSecret
impl StructuralPartialEq for RotateSecret
Auto Trait Implementations§
impl Freeze for RotateSecret
impl RefUnwindSafe for RotateSecret
impl Send for RotateSecret
impl Sync for RotateSecret
impl Unpin for RotateSecret
impl UnsafeUnpin for RotateSecret
impl UnwindSafe for RotateSecret
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