pub struct RotateSecretsResponse {
pub to_version: i32,
pub rotated: u64,
pub failed: u64,
pub remaining: u64,
pub last_id: Option<Uuid>,
}Expand description
Outcome of one rotation batch.
Fields§
§to_version: i32Key version the batch re-encrypted towards.
rotated: u64Secrets successfully re-encrypted in this batch.
failed: u64Secrets skipped because they could not be decrypted.
remaining: u64Secrets left on another key version after this batch.
last_id: Option<Uuid>Highest secret ID seen in this batch. Pass it back as after_id to
continue; null means there is nothing left to do.
Trait Implementations§
Source§impl Debug for RotateSecretsResponse
impl Debug for RotateSecretsResponse
Source§impl From<RotationBatch> for RotateSecretsResponse
impl From<RotationBatch> for RotateSecretsResponse
Source§fn from(batch: RotationBatch) -> Self
fn from(batch: RotationBatch) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RotateSecretsResponse
impl RefUnwindSafe for RotateSecretsResponse
impl Send for RotateSecretsResponse
impl Sync for RotateSecretsResponse
impl Unpin for RotateSecretsResponse
impl UnsafeUnpin for RotateSecretsResponse
impl UnwindSafe for RotateSecretsResponse
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