pub struct KeyRotationMetadata {
pub rotation_method: String,
pub next_rotation_date: u64,
pub sessions_remaining: u8,
pub cumulative_epsilon_micros: u64,
}Expand description
Key rotation metadata.
Fields§
§rotation_method: StringRotation method (“monthly”, “weekly”, “yearly”).
next_rotation_date: u64Next rotation date (Unix timestamp).
sessions_remaining: u8Sessions remaining.
cumulative_epsilon_micros: u64Cumulative epsilon (fixed-point, 1e6 scale).
Trait Implementations§
Source§impl Clone for KeyRotationMetadata
impl Clone for KeyRotationMetadata
Source§fn clone(&self) -> KeyRotationMetadata
fn clone(&self) -> KeyRotationMetadata
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 KeyRotationMetadata
impl Debug for KeyRotationMetadata
Source§impl<'de> Deserialize<'de> for KeyRotationMetadata
impl<'de> Deserialize<'de> for KeyRotationMetadata
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 KeyRotationMetadata
impl RefUnwindSafe for KeyRotationMetadata
impl Send for KeyRotationMetadata
impl Sync for KeyRotationMetadata
impl Unpin for KeyRotationMetadata
impl UnsafeUnpin for KeyRotationMetadata
impl UnwindSafe for KeyRotationMetadata
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