pub struct RotationPolicyInfo {
pub enabled: bool,
pub rotation_period_days: u32,
pub last_rotation: Option<i64>,
pub next_rotation: Option<i64>,
}Expand description
Rotation policy info returned by provider.
Fields§
§enabled: boolWhether automatic rotation is enabled for this key.
rotation_period_days: u32How often the key is rotated, expressed in days.
last_rotation: Option<i64>Unix timestamp (seconds) of the most recent rotation, if any.
next_rotation: Option<i64>Unix timestamp (seconds) when the next rotation is scheduled, if known.
Trait Implementations§
Source§impl Clone for RotationPolicyInfo
impl Clone for RotationPolicyInfo
Source§fn clone(&self) -> RotationPolicyInfo
fn clone(&self) -> RotationPolicyInfo
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 moreAuto Trait Implementations§
impl Freeze for RotationPolicyInfo
impl RefUnwindSafe for RotationPolicyInfo
impl Send for RotationPolicyInfo
impl Sync for RotationPolicyInfo
impl Unpin for RotationPolicyInfo
impl UnsafeUnpin for RotationPolicyInfo
impl UnwindSafe for RotationPolicyInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more