pub struct MachinesDaemonHeartbeatData {Show 15 fields
pub assigned_machines: i32,
pub capacity_group: String,
pub command_supported: bool,
pub daemon_instances: Vec<ManagedRuntimeUnitStatus>,
pub daemon_name: Option<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
MachinesDaemonHeartbeatData
JSON schema
{
"type": "object",
"required": [
"assignedMachines",
"capacityGroup",
"commandSupported",
"daemonInstances",
"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: Option<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§
Trait Implementations§
Source§impl Clone for MachinesDaemonHeartbeatData
impl Clone for MachinesDaemonHeartbeatData
Source§fn clone(&self) -> MachinesDaemonHeartbeatData
fn clone(&self) -> MachinesDaemonHeartbeatData
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 MachinesDaemonHeartbeatData
impl Debug for MachinesDaemonHeartbeatData
Source§impl<'de> Deserialize<'de> for MachinesDaemonHeartbeatData
impl<'de> Deserialize<'de> for MachinesDaemonHeartbeatData
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<&MachinesDaemonHeartbeatData> for MachinesDaemonHeartbeatData
impl From<&MachinesDaemonHeartbeatData> for MachinesDaemonHeartbeatData
Source§fn from(value: &MachinesDaemonHeartbeatData) -> Self
fn from(value: &MachinesDaemonHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl From<MachinesDaemonHeartbeatData> for MachinesDaemonHeartbeatData
impl From<MachinesDaemonHeartbeatData> for MachinesDaemonHeartbeatData
Source§fn from(value: MachinesDaemonHeartbeatData) -> Self
fn from(value: MachinesDaemonHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl TryFrom<MachinesDaemonHeartbeatData> for MachinesDaemonHeartbeatData
impl TryFrom<MachinesDaemonHeartbeatData> for MachinesDaemonHeartbeatData
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: MachinesDaemonHeartbeatData) -> Result<Self, ConversionError>
fn try_from(value: MachinesDaemonHeartbeatData) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for MachinesDaemonHeartbeatData
impl RefUnwindSafe for MachinesDaemonHeartbeatData
impl Send for MachinesDaemonHeartbeatData
impl Sync for MachinesDaemonHeartbeatData
impl Unpin for MachinesDaemonHeartbeatData
impl UnsafeUnpin for MachinesDaemonHeartbeatData
impl UnwindSafe for MachinesDaemonHeartbeatData
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