pub struct LocalComputeClusterHeartbeatData {Show 13 fields
pub docker_api_version: Option<String>,
pub docker_arch: Option<String>,
pub docker_available: bool,
pub docker_os: Option<String>,
pub docker_version: Option<String>,
pub host_identifier: Option<String>,
pub name: String,
pub network_available: bool,
pub network_name: Option<String>,
pub nodes: ObservedCounts,
pub running_containers: Option<i32>,
pub status: ComputeClusterHeartbeatStatus,
pub tracked_containers: Option<i32>,
}Expand description
LocalComputeClusterHeartbeatData
JSON schema
{
"type": "object",
"required": [
"dockerAvailable",
"name",
"networkAvailable",
"nodes",
"status"
],
"properties": {
"dockerApiVersion": {
"type": [
"string",
"null"
]
},
"dockerArch": {
"type": [
"string",
"null"
]
},
"dockerAvailable": {
"type": "boolean"
},
"dockerOs": {
"type": [
"string",
"null"
]
},
"dockerVersion": {
"type": [
"string",
"null"
]
},
"hostIdentifier": {
"type": [
"string",
"null"
]
},
"name": {
"type": "string"
},
"networkAvailable": {
"type": "boolean"
},
"networkName": {
"type": [
"string",
"null"
]
},
"nodes": {
"$ref": "#/components/schemas/ObservedCounts"
},
"runningContainers": {
"type": [
"integer",
"null"
],
"format": "int32",
"minimum": 0.0
},
"status": {
"$ref": "#/components/schemas/ComputeClusterHeartbeatStatus"
},
"trackedContainers": {
"type": [
"integer",
"null"
],
"format": "int32",
"minimum": 0.0
}
}
}Fields§
§docker_api_version: Option<String>§docker_arch: Option<String>§docker_available: bool§docker_os: Option<String>§docker_version: Option<String>§host_identifier: Option<String>§name: String§network_available: bool§network_name: Option<String>§nodes: ObservedCounts§running_containers: Option<i32>§status: ComputeClusterHeartbeatStatus§tracked_containers: Option<i32>Implementations§
Trait Implementations§
Source§impl Clone for LocalComputeClusterHeartbeatData
impl Clone for LocalComputeClusterHeartbeatData
Source§fn clone(&self) -> LocalComputeClusterHeartbeatData
fn clone(&self) -> LocalComputeClusterHeartbeatData
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 LocalComputeClusterHeartbeatData
impl<'de> Deserialize<'de> for LocalComputeClusterHeartbeatData
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<&LocalComputeClusterHeartbeatData> for LocalComputeClusterHeartbeatData
impl From<&LocalComputeClusterHeartbeatData> for LocalComputeClusterHeartbeatData
Source§fn from(value: &LocalComputeClusterHeartbeatData) -> Self
fn from(value: &LocalComputeClusterHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl From<LocalComputeClusterHeartbeatData> for LocalComputeClusterHeartbeatData
impl From<LocalComputeClusterHeartbeatData> for LocalComputeClusterHeartbeatData
Source§fn from(value: LocalComputeClusterHeartbeatData) -> Self
fn from(value: LocalComputeClusterHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl TryFrom<LocalComputeClusterHeartbeatData> for LocalComputeClusterHeartbeatData
impl TryFrom<LocalComputeClusterHeartbeatData> for LocalComputeClusterHeartbeatData
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: LocalComputeClusterHeartbeatData,
) -> Result<Self, ConversionError>
fn try_from( value: LocalComputeClusterHeartbeatData, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for LocalComputeClusterHeartbeatData
impl RefUnwindSafe for LocalComputeClusterHeartbeatData
impl Send for LocalComputeClusterHeartbeatData
impl Sync for LocalComputeClusterHeartbeatData
impl Unpin for LocalComputeClusterHeartbeatData
impl UnsafeUnpin for LocalComputeClusterHeartbeatData
impl UnwindSafe for LocalComputeClusterHeartbeatData
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