pub struct AzureContainerAppsWorkerHeartbeatData {
pub app_name: String,
pub cpu: Option<f64>,
pub environment_name: Option<String>,
pub ingress_fqdn: Option<String>,
pub max_replicas: Option<i32>,
pub memory: Option<String>,
pub min_replicas: Option<i32>,
pub provisioning_state: Option<String>,
pub revision: Option<String>,
pub running_status: Option<String>,
pub status: WorkloadHeartbeatStatus,
}Expand description
AzureContainerAppsWorkerHeartbeatData
JSON schema
{
"type": "object",
"required": [
"appName",
"status"
],
"properties": {
"appName": {
"type": "string"
},
"cpu": {
"type": [
"number",
"null"
],
"format": "double"
},
"environmentName": {
"type": [
"string",
"null"
]
},
"ingressFqdn": {
"type": [
"string",
"null"
]
},
"maxReplicas": {
"type": [
"integer",
"null"
],
"format": "int32"
},
"memory": {
"type": [
"string",
"null"
]
},
"minReplicas": {
"type": [
"integer",
"null"
],
"format": "int32"
},
"provisioningState": {
"type": [
"string",
"null"
]
},
"revision": {
"type": [
"string",
"null"
]
},
"runningStatus": {
"type": [
"string",
"null"
]
},
"status": {
"$ref": "#/components/schemas/WorkloadHeartbeatStatus"
}
}
}Fields§
§app_name: String§cpu: Option<f64>§environment_name: Option<String>§ingress_fqdn: Option<String>§max_replicas: Option<i32>§memory: Option<String>§min_replicas: Option<i32>§provisioning_state: Option<String>§revision: Option<String>§running_status: Option<String>§status: WorkloadHeartbeatStatusImplementations§
Trait Implementations§
Source§impl Clone for AzureContainerAppsWorkerHeartbeatData
impl Clone for AzureContainerAppsWorkerHeartbeatData
Source§fn clone(&self) -> AzureContainerAppsWorkerHeartbeatData
fn clone(&self) -> AzureContainerAppsWorkerHeartbeatData
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 AzureContainerAppsWorkerHeartbeatData
impl<'de> Deserialize<'de> for AzureContainerAppsWorkerHeartbeatData
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<&AzureContainerAppsWorkerHeartbeatData> for AzureContainerAppsWorkerHeartbeatData
impl From<&AzureContainerAppsWorkerHeartbeatData> for AzureContainerAppsWorkerHeartbeatData
Source§fn from(value: &AzureContainerAppsWorkerHeartbeatData) -> Self
fn from(value: &AzureContainerAppsWorkerHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl From<AzureContainerAppsWorkerHeartbeatData> for AzureContainerAppsWorkerHeartbeatData
impl From<AzureContainerAppsWorkerHeartbeatData> for AzureContainerAppsWorkerHeartbeatData
Source§fn from(value: AzureContainerAppsWorkerHeartbeatData) -> Self
fn from(value: AzureContainerAppsWorkerHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl TryFrom<AzureContainerAppsWorkerHeartbeatData> for AzureContainerAppsWorkerHeartbeatData
impl TryFrom<AzureContainerAppsWorkerHeartbeatData> for AzureContainerAppsWorkerHeartbeatData
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: AzureContainerAppsWorkerHeartbeatData,
) -> Result<Self, ConversionError>
fn try_from( value: AzureContainerAppsWorkerHeartbeatData, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for AzureContainerAppsWorkerHeartbeatData
impl RefUnwindSafe for AzureContainerAppsWorkerHeartbeatData
impl Send for AzureContainerAppsWorkerHeartbeatData
impl Sync for AzureContainerAppsWorkerHeartbeatData
impl Unpin for AzureContainerAppsWorkerHeartbeatData
impl UnsafeUnpin for AzureContainerAppsWorkerHeartbeatData
impl UnwindSafe for AzureContainerAppsWorkerHeartbeatData
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