pub struct KeyVersionsResponse {
pub active: i32,
pub configured: Vec<i32>,
pub in_use: Vec<i32>,
pub missing: Vec<i32>,
pub retirable: Vec<i32>,
}Expand description
How the configured key ring lines up with the stored secrets.
Fields§
§active: i32Version used to encrypt new secrets.
configured: Vec<i32>Versions present in the configured key ring.
in_use: Vec<i32>Versions actually used by stored secrets.
missing: Vec<i32>Versions used by stored secrets but absent from the key ring. Non-empty means some secrets are unreadable.
retirable: Vec<i32>Versions that can be removed from the key ring safely.
Trait Implementations§
Source§impl Debug for KeyVersionsResponse
impl Debug for KeyVersionsResponse
Source§impl From<KeyVersionStatus> for KeyVersionsResponse
impl From<KeyVersionStatus> for KeyVersionsResponse
Source§fn from(status: KeyVersionStatus) -> Self
fn from(status: KeyVersionStatus) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for KeyVersionsResponse
impl RefUnwindSafe for KeyVersionsResponse
impl Send for KeyVersionsResponse
impl Sync for KeyVersionsResponse
impl Unpin for KeyVersionsResponse
impl UnsafeUnpin for KeyVersionsResponse
impl UnwindSafe for KeyVersionsResponse
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