#[non_exhaustive]pub struct SecretManagerConfig {
pub enabled: Option<bool>,
pub rotation_config: Option<RotationConfig>,
/* private fields */
}Expand description
SecretManagerConfig is config for secret manager enablement.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.enabled: Option<bool>Enable/Disable Secret Manager Config.
rotation_config: Option<RotationConfig>Rotation config for secret manager.
Implementations§
Source§impl SecretManagerConfig
impl SecretManagerConfig
pub fn new() -> Self
Sourcepub fn set_enabled<T>(self, v: T) -> Self
pub fn set_enabled<T>(self, v: T) -> Self
Sets the value of enabled.
Sourcepub fn set_or_clear_enabled<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_enabled<T>(self, v: Option<T>) -> Self
Sets or clears the value of enabled.
Sourcepub fn set_rotation_config<T>(self, v: T) -> Selfwhere
T: Into<RotationConfig>,
pub fn set_rotation_config<T>(self, v: T) -> Selfwhere
T: Into<RotationConfig>,
Sets the value of rotation_config.
Sourcepub fn set_or_clear_rotation_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<RotationConfig>,
pub fn set_or_clear_rotation_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<RotationConfig>,
Sets or clears the value of rotation_config.
Trait Implementations§
Source§impl Clone for SecretManagerConfig
impl Clone for SecretManagerConfig
Source§fn clone(&self) -> SecretManagerConfig
fn clone(&self) -> SecretManagerConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 SecretManagerConfig
impl Debug for SecretManagerConfig
Source§impl Default for SecretManagerConfig
impl Default for SecretManagerConfig
Source§fn default() -> SecretManagerConfig
fn default() -> SecretManagerConfig
Returns the “default value” for a type. Read more
Source§impl Message for SecretManagerConfig
impl Message for SecretManagerConfig
Source§impl PartialEq for SecretManagerConfig
impl PartialEq for SecretManagerConfig
impl StructuralPartialEq for SecretManagerConfig
Auto Trait Implementations§
impl Freeze for SecretManagerConfig
impl RefUnwindSafe for SecretManagerConfig
impl Send for SecretManagerConfig
impl Sync for SecretManagerConfig
impl Unpin for SecretManagerConfig
impl UnwindSafe for SecretManagerConfig
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