pub struct RotationConfig {
pub enabled: Option<bool>,
pub rotation_interval: Option<Duration>,
}Expand description
RotationConfig is config for secret manager auto rotation.
This type is not used in any activity, and only used as part of another schema.
Fields§
§enabled: Option<bool>Whether the rotation is enabled.
rotation_interval: Option<Duration>The interval between two consecutive rotations. Default rotation interval is 2 minutes.
Trait Implementations§
Source§impl Clone for RotationConfig
impl Clone for RotationConfig
Source§fn clone(&self) -> RotationConfig
fn clone(&self) -> RotationConfig
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 RotationConfig
impl Debug for RotationConfig
Source§impl Default for RotationConfig
impl Default for RotationConfig
Source§fn default() -> RotationConfig
fn default() -> RotationConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RotationConfig
impl<'de> Deserialize<'de> for RotationConfig
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 Serialize for RotationConfig
impl Serialize for RotationConfig
impl Part for RotationConfig
Auto Trait Implementations§
impl Freeze for RotationConfig
impl RefUnwindSafe for RotationConfig
impl Send for RotationConfig
impl Sync for RotationConfig
impl Unpin for RotationConfig
impl UnwindSafe for RotationConfig
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