pub enum KeyHeartbeatData {
AwsKms(AwsKmsKeyHeartbeatData),
GcpCloudKms(GcpCloudKmsKeyHeartbeatData),
AzureKeyVault(AzureKeyVaultKeyHeartbeatData),
}Expand description
KeyHeartbeatData
JSON schema
{
"oneOf": [
{
"type": "object",
"required": [
"data",
"provider"
],
"properties": {
"data": {
"$ref": "#/components/schemas/AwsKmsKeyHeartbeatData"
},
"provider": {
"type": "string",
"enum": [
"aws-kms"
]
}
}
},
{
"type": "object",
"required": [
"data",
"provider"
],
"properties": {
"data": {
"$ref": "#/components/schemas/GcpCloudKmsKeyHeartbeatData"
},
"provider": {
"type": "string",
"enum": [
"gcp-cloud-kms"
]
}
}
},
{
"type": "object",
"required": [
"data",
"provider"
],
"properties": {
"data": {
"$ref": "#/components/schemas/AzureKeyVaultKeyHeartbeatData"
},
"provider": {
"type": "string",
"enum": [
"azure-key-vault"
]
}
}
}
]
}Variants§
AwsKms(AwsKmsKeyHeartbeatData)
GcpCloudKms(GcpCloudKmsKeyHeartbeatData)
AzureKeyVault(AzureKeyVaultKeyHeartbeatData)
Trait Implementations§
Source§impl Clone for KeyHeartbeatData
impl Clone for KeyHeartbeatData
Source§impl Debug for KeyHeartbeatData
impl Debug for KeyHeartbeatData
Source§impl<'de> Deserialize<'de> for KeyHeartbeatData
impl<'de> Deserialize<'de> for KeyHeartbeatData
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<&KeyHeartbeatData> for KeyHeartbeatData
impl From<&KeyHeartbeatData> for KeyHeartbeatData
Source§fn from(value: &KeyHeartbeatData) -> Self
fn from(value: &KeyHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl From<AwsKmsKeyHeartbeatData> for KeyHeartbeatData
impl From<AwsKmsKeyHeartbeatData> for KeyHeartbeatData
Source§fn from(value: AwsKmsKeyHeartbeatData) -> Self
fn from(value: AwsKmsKeyHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl From<AzureKeyVaultKeyHeartbeatData> for KeyHeartbeatData
impl From<AzureKeyVaultKeyHeartbeatData> for KeyHeartbeatData
Source§fn from(value: AzureKeyVaultKeyHeartbeatData) -> Self
fn from(value: AzureKeyVaultKeyHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl From<GcpCloudKmsKeyHeartbeatData> for KeyHeartbeatData
impl From<GcpCloudKmsKeyHeartbeatData> for KeyHeartbeatData
Source§fn from(value: GcpCloudKmsKeyHeartbeatData) -> Self
fn from(value: GcpCloudKmsKeyHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl From<KeyHeartbeatData> for ResourceHeartbeatData
impl From<KeyHeartbeatData> for ResourceHeartbeatData
Source§fn from(value: KeyHeartbeatData) -> Self
fn from(value: KeyHeartbeatData) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for KeyHeartbeatData
impl RefUnwindSafe for KeyHeartbeatData
impl Send for KeyHeartbeatData
impl Sync for KeyHeartbeatData
impl Unpin for KeyHeartbeatData
impl UnsafeUnpin for KeyHeartbeatData
impl UnwindSafe for KeyHeartbeatData
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