pub struct KeyRotationConfig {
pub time_interval_secs: u64,
pub data_interval_bytes: u64,
pub enable_auto_rotation: bool,
}Expand description
Key rotation configuration
Fields§
§time_interval_secs: u64Rotate keys every N seconds
data_interval_bytes: u64Rotate keys every N bytes
enable_auto_rotation: boolEnable automatic rotation
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 (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 KeyRotationConfig
impl Debug for KeyRotationConfig
Auto Trait Implementations§
impl Freeze for KeyRotationConfig
impl RefUnwindSafe for KeyRotationConfig
impl Send for KeyRotationConfig
impl Sync for KeyRotationConfig
impl Unpin for KeyRotationConfig
impl UnsafeUnpin 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