pub struct RotationResult {
pub predecessor: KeyInfo,
pub successor: KeyInfo,
pub grace_period_until: String,
}Expand description
Outcome of a Store::rotate call.
Fields§
§predecessor: KeyInfoThe key that was rotated. Its valid_until is now set.
successor: KeyInfoThe freshly minted successor key.
grace_period_until: StringRFC 3339 timestamp until which the predecessor remains valid for
signature verification under the grace period. Equal to
predecessor.valid_until.unwrap().
Trait Implementations§
Source§impl Clone for RotationResult
impl Clone for RotationResult
Source§fn clone(&self) -> RotationResult
fn clone(&self) -> RotationResult
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 RotationResult
impl RefUnwindSafe for RotationResult
impl Send for RotationResult
impl Sync for RotationResult
impl Unpin for RotationResult
impl UnsafeUnpin for RotationResult
impl UnwindSafe for RotationResult
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