pub struct KeyRotationStats {
pub rotation_count: u64,
pub bytes_since_rotation: u64,
pub time_since_rotation: Duration,
pub next_rotation_in: Duration,
}Expand description
Key rotation statistics
Fields§
§rotation_count: u64§bytes_since_rotation: u64§time_since_rotation: Duration§next_rotation_in: DurationTrait Implementations§
Source§impl Clone for KeyRotationStats
impl Clone for KeyRotationStats
Source§fn clone(&self) -> KeyRotationStats
fn clone(&self) -> KeyRotationStats
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 moreAuto Trait Implementations§
impl Freeze for KeyRotationStats
impl RefUnwindSafe for KeyRotationStats
impl Send for KeyRotationStats
impl Sync for KeyRotationStats
impl Unpin for KeyRotationStats
impl UnsafeUnpin for KeyRotationStats
impl UnwindSafe for KeyRotationStats
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