pub struct AwsDaemonHeartbeatData {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
AwsDaemonHeartbeatData
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 AwsDaemonHeartbeatData
impl AwsDaemonHeartbeatData
pub fn builder() -> AwsDaemonHeartbeatData
Trait Implementations§
Source§impl Clone for AwsDaemonHeartbeatData
impl Clone for AwsDaemonHeartbeatData
Source§fn clone(&self) -> AwsDaemonHeartbeatData
fn clone(&self) -> AwsDaemonHeartbeatData
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 AwsDaemonHeartbeatData
impl Debug for AwsDaemonHeartbeatData
Source§impl<'de> Deserialize<'de> for AwsDaemonHeartbeatData
impl<'de> Deserialize<'de> for AwsDaemonHeartbeatData
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<&AwsDaemonHeartbeatData> for AwsDaemonHeartbeatData
impl From<&AwsDaemonHeartbeatData> for AwsDaemonHeartbeatData
Source§fn from(value: &AwsDaemonHeartbeatData) -> Self
fn from(value: &AwsDaemonHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl From<AwsDaemonHeartbeatData> for AwsDaemonHeartbeatData
impl From<AwsDaemonHeartbeatData> for AwsDaemonHeartbeatData
Source§fn from(value: AwsDaemonHeartbeatData) -> Self
fn from(value: AwsDaemonHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl Serialize for AwsDaemonHeartbeatData
impl Serialize for AwsDaemonHeartbeatData
Source§impl TryFrom<AwsDaemonHeartbeatData> for AwsDaemonHeartbeatData
impl TryFrom<AwsDaemonHeartbeatData> for AwsDaemonHeartbeatData
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: AwsDaemonHeartbeatData) -> Result<Self, ConversionError>
fn try_from(value: AwsDaemonHeartbeatData) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for AwsDaemonHeartbeatData
impl RefUnwindSafe for AwsDaemonHeartbeatData
impl Send for AwsDaemonHeartbeatData
impl Sync for AwsDaemonHeartbeatData
impl Unpin for AwsDaemonHeartbeatData
impl UnsafeUnpin for AwsDaemonHeartbeatData
impl UnwindSafe for AwsDaemonHeartbeatData
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