pub struct MachinesComputeMachineStatus {Show 16 fields
pub capacity_group: String,
pub cpu_cores: Option<f64>,
pub drain_blockers: Vec<ComputeDrainBlocker>,
pub drain_deadline_at: Option<String>,
pub drain_force: bool,
pub drain_requested_at: Option<String>,
pub drained_at: Option<String>,
pub horizond_version: Option<String>,
pub last_heartbeat: String,
pub machine_id: String,
pub memory_bytes: Option<i64>,
pub overlay_ip: Option<String>,
pub public_ip: Option<String>,
pub replica_count: i64,
pub status: String,
pub zone: String,
}Expand description
MachinesComputeMachineStatus
JSON schema
{
"type": "object",
"required": [
"capacityGroup",
"drainForce",
"lastHeartbeat",
"machineId",
"replicaCount",
"status",
"zone"
],
"properties": {
"capacityGroup": {
"type": "string"
},
"cpuCores": {
"type": [
"number",
"null"
],
"format": "double"
},
"drainBlockers": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ComputeDrainBlocker"
}
},
"drainDeadlineAt": {
"type": [
"string",
"null"
]
},
"drainForce": {
"type": "boolean"
},
"drainRequestedAt": {
"type": [
"string",
"null"
]
},
"drainedAt": {
"type": [
"string",
"null"
]
},
"horizondVersion": {
"type": [
"string",
"null"
]
},
"lastHeartbeat": {
"type": "string"
},
"machineId": {
"type": "string"
},
"memoryBytes": {
"type": [
"integer",
"null"
],
"format": "int64"
},
"overlayIp": {
"type": [
"string",
"null"
]
},
"publicIp": {
"type": [
"string",
"null"
]
},
"replicaCount": {
"type": "integer",
"format": "int64"
},
"status": {
"type": "string"
},
"zone": {
"type": "string"
}
}
}Fields§
§capacity_group: String§cpu_cores: Option<f64>§drain_blockers: Vec<ComputeDrainBlocker>§drain_deadline_at: Option<String>§drain_force: bool§drain_requested_at: Option<String>§drained_at: Option<String>§horizond_version: Option<String>§last_heartbeat: String§machine_id: String§memory_bytes: Option<i64>§overlay_ip: Option<String>§public_ip: Option<String>§replica_count: i64§status: String§zone: StringImplementations§
Trait Implementations§
Source§impl Clone for MachinesComputeMachineStatus
impl Clone for MachinesComputeMachineStatus
Source§fn clone(&self) -> MachinesComputeMachineStatus
fn clone(&self) -> MachinesComputeMachineStatus
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 MachinesComputeMachineStatus
impl Debug for MachinesComputeMachineStatus
Source§impl<'de> Deserialize<'de> for MachinesComputeMachineStatus
impl<'de> Deserialize<'de> for MachinesComputeMachineStatus
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<&MachinesComputeMachineStatus> for MachinesComputeMachineStatus
impl From<&MachinesComputeMachineStatus> for MachinesComputeMachineStatus
Source§fn from(value: &MachinesComputeMachineStatus) -> Self
fn from(value: &MachinesComputeMachineStatus) -> Self
Converts to this type from the input type.
Source§impl From<MachinesComputeMachineStatus> for MachinesComputeMachineStatus
impl From<MachinesComputeMachineStatus> for MachinesComputeMachineStatus
Source§fn from(value: MachinesComputeMachineStatus) -> Self
fn from(value: MachinesComputeMachineStatus) -> Self
Converts to this type from the input type.
Source§impl TryFrom<MachinesComputeMachineStatus> for MachinesComputeMachineStatus
impl TryFrom<MachinesComputeMachineStatus> for MachinesComputeMachineStatus
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: MachinesComputeMachineStatus,
) -> Result<Self, ConversionError>
fn try_from( value: MachinesComputeMachineStatus, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for MachinesComputeMachineStatus
impl RefUnwindSafe for MachinesComputeMachineStatus
impl Send for MachinesComputeMachineStatus
impl Sync for MachinesComputeMachineStatus
impl Unpin for MachinesComputeMachineStatus
impl UnsafeUnpin for MachinesComputeMachineStatus
impl UnwindSafe for MachinesComputeMachineStatus
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