pub struct RotationSchedule {
pub next_rotation: SystemTime,
pub interval: Duration,
pub auto_rotate: bool,
pub policy: RotationPolicy,
pub retry_config: RetryConfig,
}Expand description
Key rotation schedule
Fieldsยง
ยงnext_rotation: SystemTimeNext rotation time
interval: DurationRotation interval
auto_rotate: boolAutomatic rotation enabled
policy: RotationPolicyRotation policy
retry_config: RetryConfigRetry configuration
Trait Implementationsยง
Sourceยงimpl Clone for RotationSchedule
impl Clone for RotationSchedule
Sourceยงfn clone(&self) -> RotationSchedule
fn clone(&self) -> RotationSchedule
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 RotationSchedule
impl Debug for RotationSchedule
Sourceยงimpl<'de> Deserialize<'de> for RotationSchedule
impl<'de> Deserialize<'de> for RotationSchedule
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 RotationSchedule
impl RefUnwindSafe for RotationSchedule
impl Send for RotationSchedule
impl Sync for RotationSchedule
impl Unpin for RotationSchedule
impl UnsafeUnpin for RotationSchedule
impl UnwindSafe for RotationSchedule
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