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