pub enum ServiceActivationHeartbeatData {
Variant0 {
backend: ServiceActivationHeartbeatDataVariant0Backend,
enabled: bool,
last_operation_name: Option<String>,
project_id: String,
service_name: String,
service_resource_name: Option<String>,
state: Option<String>,
status: ServiceActivationHeartbeatStatus,
title: Option<String>,
},
Variant1 {
backend: ServiceActivationHeartbeatDataVariant1Backend,
namespace: String,
provider_id: Option<String>,
registered: bool,
registration_policy: Option<String>,
registration_state: Option<String>,
resource_type_count: i32,
status: ServiceActivationHeartbeatStatus,
},
}Expand description
ServiceActivationHeartbeatData
JSON schema
{
"oneOf": [
{
"allOf": [
{
"$ref": "#/components/schemas/GcpServiceUsageActivationHeartbeatData"
},
{
"type": "object",
"required": [
"backend"
],
"properties": {
"backend": {
"type": "string",
"enum": [
"gcpServiceUsage"
]
}
}
}
]
},
{
"allOf": [
{
"$ref": "#/components/schemas/AzureResourceProviderActivationHeartbeatData"
},
{
"type": "object",
"required": [
"backend"
],
"properties": {
"backend": {
"type": "string",
"enum": [
"azureResourceProvider"
]
}
}
}
]
}
]
}Variants§
Trait Implementations§
Source§impl Clone for ServiceActivationHeartbeatData
impl Clone for ServiceActivationHeartbeatData
Source§fn clone(&self) -> ServiceActivationHeartbeatData
fn clone(&self) -> ServiceActivationHeartbeatData
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<'de> Deserialize<'de> for ServiceActivationHeartbeatData
impl<'de> Deserialize<'de> for ServiceActivationHeartbeatData
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<&ServiceActivationHeartbeatData> for ServiceActivationHeartbeatData
impl From<&ServiceActivationHeartbeatData> for ServiceActivationHeartbeatData
Source§fn from(value: &ServiceActivationHeartbeatData) -> Self
fn from(value: &ServiceActivationHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl From<ServiceActivationHeartbeatData> for ResourceHeartbeatData
impl From<ServiceActivationHeartbeatData> for ResourceHeartbeatData
Source§fn from(value: ServiceActivationHeartbeatData) -> Self
fn from(value: ServiceActivationHeartbeatData) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ServiceActivationHeartbeatData
impl RefUnwindSafe for ServiceActivationHeartbeatData
impl Send for ServiceActivationHeartbeatData
impl Sync for ServiceActivationHeartbeatData
impl Unpin for ServiceActivationHeartbeatData
impl UnsafeUnpin for ServiceActivationHeartbeatData
impl UnwindSafe for ServiceActivationHeartbeatData
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