pub struct KeystoreRotationResult {
pub new_active_kid: String,
pub new_active_public_key_b64: String,
pub previous_kid: String,
pub previous_grace_until: DateTime<Utc>,
}Expand description
The outcome of a rotate_keystore call.
Named KeystoreRotationResult to disambiguate from the existing
crate::RotationResult which describes generic secret rotations.
Fields§
§new_active_kid: StringThe kid of the new active key.
new_active_public_key_b64: StringURL-safe no-pad base64 of the new active key.
previous_kid: StringThe kid that was previously active and is now in grace.
previous_grace_until: DateTime<Utc>When the previous-active key’s grace period expires (RFC3339).
After this, the key is purged on the next prune_expired_grace.
Trait Implementations§
Source§impl Clone for KeystoreRotationResult
impl Clone for KeystoreRotationResult
Source§fn clone(&self) -> KeystoreRotationResult
fn clone(&self) -> KeystoreRotationResult
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 KeystoreRotationResult
impl Debug for KeystoreRotationResult
Source§impl<'de> Deserialize<'de> for KeystoreRotationResult
impl<'de> Deserialize<'de> for KeystoreRotationResult
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 KeystoreRotationResult
impl RefUnwindSafe for KeystoreRotationResult
impl Send for KeystoreRotationResult
impl Sync for KeystoreRotationResult
impl Unpin for KeystoreRotationResult
impl UnsafeUnpin for KeystoreRotationResult
impl UnwindSafe for KeystoreRotationResult
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> FromBase64 for Twhere
T: for<'de> Deserialize<'de>,
impl<T> FromBase64 for Twhere
T: for<'de> Deserialize<'de>,
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