pub struct AzureDaemonHeartbeatData {Show 15 fields
pub assigned_machines: i32,
pub capacity_group: String,
pub command_supported: bool,
pub daemon_instances: Vec<ManagedRuntimeUnitStatus>,
pub daemon_name: String,
pub desired_machines: i32,
pub events: Vec<ManagedRuntimeEventSnapshot>,
pub healthy_instances: i32,
pub horizon_cluster_id: String,
pub horizon_status: String,
pub horizon_status_message: Option<String>,
pub horizon_status_reason: Option<String>,
pub latest_update_timestamp: String,
pub status: WorkloadHeartbeatStatus,
pub unavailable_instances: i32,
}Expand description
AzureDaemonHeartbeatData
JSON schema
{
"type": "object",
"required": [
"assignedMachines",
"capacityGroup",
"commandSupported",
"daemonInstances",
"daemonName",
"desiredMachines",
"events",
"healthyInstances",
"horizonClusterId",
"horizonStatus",
"latestUpdateTimestamp",
"status",
"unavailableInstances"
],
"properties": {
"assignedMachines": {
"type": "integer",
"format": "int32",
"minimum": 0.0
},
"capacityGroup": {
"type": "string"
},
"commandSupported": {
"type": "boolean"
},
"daemonInstances": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ManagedRuntimeUnitStatus"
}
},
"daemonName": {
"type": "string"
},
"desiredMachines": {
"type": "integer",
"format": "int32",
"minimum": 0.0
},
"events": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ManagedRuntimeEventSnapshot"
}
},
"healthyInstances": {
"type": "integer",
"format": "int32",
"minimum": 0.0
},
"horizonClusterId": {
"type": "string"
},
"horizonStatus": {
"type": "string"
},
"horizonStatusMessage": {
"type": [
"string",
"null"
]
},
"horizonStatusReason": {
"type": [
"string",
"null"
]
},
"latestUpdateTimestamp": {
"type": "string"
},
"status": {
"$ref": "#/components/schemas/WorkloadHeartbeatStatus"
},
"unavailableInstances": {
"type": "integer",
"format": "int32",
"minimum": 0.0
}
}
}Fields§
§assigned_machines: i32§capacity_group: String§command_supported: bool§daemon_instances: Vec<ManagedRuntimeUnitStatus>§daemon_name: String§desired_machines: i32§events: Vec<ManagedRuntimeEventSnapshot>§healthy_instances: i32§horizon_cluster_id: String§horizon_status: String§horizon_status_message: Option<String>§horizon_status_reason: Option<String>§latest_update_timestamp: String§status: WorkloadHeartbeatStatusImplementations§
Source§impl AzureDaemonHeartbeatData
impl AzureDaemonHeartbeatData
pub fn builder() -> AzureDaemonHeartbeatData
Trait Implementations§
Source§impl Clone for AzureDaemonHeartbeatData
impl Clone for AzureDaemonHeartbeatData
Source§fn clone(&self) -> AzureDaemonHeartbeatData
fn clone(&self) -> AzureDaemonHeartbeatData
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 Debug for AzureDaemonHeartbeatData
impl Debug for AzureDaemonHeartbeatData
Source§impl<'de> Deserialize<'de> for AzureDaemonHeartbeatData
impl<'de> Deserialize<'de> for AzureDaemonHeartbeatData
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<&AzureDaemonHeartbeatData> for AzureDaemonHeartbeatData
impl From<&AzureDaemonHeartbeatData> for AzureDaemonHeartbeatData
Source§fn from(value: &AzureDaemonHeartbeatData) -> Self
fn from(value: &AzureDaemonHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl From<AzureDaemonHeartbeatData> for AzureDaemonHeartbeatData
impl From<AzureDaemonHeartbeatData> for AzureDaemonHeartbeatData
Source§fn from(value: AzureDaemonHeartbeatData) -> Self
fn from(value: AzureDaemonHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl Serialize for AzureDaemonHeartbeatData
impl Serialize for AzureDaemonHeartbeatData
Source§impl TryFrom<AzureDaemonHeartbeatData> for AzureDaemonHeartbeatData
impl TryFrom<AzureDaemonHeartbeatData> for AzureDaemonHeartbeatData
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: AzureDaemonHeartbeatData) -> Result<Self, ConversionError>
fn try_from(value: AzureDaemonHeartbeatData) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for AzureDaemonHeartbeatData
impl RefUnwindSafe for AzureDaemonHeartbeatData
impl Send for AzureDaemonHeartbeatData
impl Sync for AzureDaemonHeartbeatData
impl Unpin for AzureDaemonHeartbeatData
impl UnsafeUnpin for AzureDaemonHeartbeatData
impl UnwindSafe for AzureDaemonHeartbeatData
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