pub struct KeyRotationConfig {
pub rotation_interval: u64,
pub keys_to_keep: usize,
pub auto_rotate: bool,
}Expand description
Key rotation configuration
Fields§
§rotation_interval: u64Rotation interval in seconds
keys_to_keep: usizeNumber of old keys to keep for transition
auto_rotate: boolWhether to automatically rotate keys
Trait Implementations§
Source§impl Clone for KeyRotationConfig
impl Clone for KeyRotationConfig
Source§fn clone(&self) -> KeyRotationConfig
fn clone(&self) -> KeyRotationConfig
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 KeyRotationConfig
impl Debug for KeyRotationConfig
Source§impl Default for KeyRotationConfig
impl Default for KeyRotationConfig
Source§impl<'de> Deserialize<'de> for KeyRotationConfig
impl<'de> Deserialize<'de> for KeyRotationConfig
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
Auto Trait Implementations§
impl Freeze for KeyRotationConfig
impl RefUnwindSafe for KeyRotationConfig
impl Send for KeyRotationConfig
impl Sync for KeyRotationConfig
impl Unpin for KeyRotationConfig
impl UnwindSafe for KeyRotationConfig
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