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.
JSON schema
{
"description": "How the configured key ring lines up with the stored secrets.",
"type": "object",
"required": [
"active",
"configured",
"in_use",
"missing",
"retirable"
],
"properties": {
"active": {
"description": "Version used to encrypt new secrets.",
"type": "integer",
"format": "int32"
},
"configured": {
"description": "Versions present in the configured key ring.",
"type": "array",
"items": {
"type": "integer",
"format": "int32"
}
},
"in_use": {
"description": "Versions actually used by stored secrets.",
"type": "array",
"items": {
"type": "integer",
"format": "int32"
}
},
"missing": {
"description": "Versions used by stored secrets but absent from the key ring.\nNon-empty means some secrets are unreadable.",
"type": "array",
"items": {
"type": "integer",
"format": "int32"
}
},
"retirable": {
"description": "Versions that can be removed from the key ring safely.",
"type": "array",
"items": {
"type": "integer",
"format": "int32"
}
}
}
}
```ignore
</details>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.
Implementations§
Source§impl KeyVersionsResponse
impl KeyVersionsResponse
pub fn builder() -> KeyVersionsResponse
Trait Implementations§
Source§impl Clone for KeyVersionsResponse
impl Clone for KeyVersionsResponse
Source§impl Debug for KeyVersionsResponse
impl Debug for KeyVersionsResponse
Source§impl<'de> Deserialize<'de> for KeyVersionsResponse
impl<'de> Deserialize<'de> for KeyVersionsResponse
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
Source§impl From<KeyVersionsResponse> for KeyVersionsResponse
impl From<KeyVersionsResponse> for KeyVersionsResponse
Source§fn from(value: KeyVersionsResponse) -> Self
fn from(value: KeyVersionsResponse) -> Self
Converts to this type from the input type.
Source§impl Serialize for KeyVersionsResponse
impl Serialize for KeyVersionsResponse
Source§impl TryFrom<KeyVersionsResponse> for KeyVersionsResponse
impl TryFrom<KeyVersionsResponse> for KeyVersionsResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: KeyVersionsResponse) -> Result<Self, ConversionError>
fn try_from(value: KeyVersionsResponse) -> Result<Self, ConversionError>
Performs the conversion.
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