pub struct ClusterMonitorEventSelectedInfo {
pub all_healthy: bool,
pub api_resources_info: Option<String>,
pub api_self_info: Option<String>,
pub api_status: MonitorStatus,
pub compiler_resources_info: Option<String>,
pub compiler_self_info: Option<String>,
pub compiler_status: MonitorStatus,
pub id: ClusterMonitorEventId,
pub recorded_at: DateTime<Utc>,
pub runner_resources_info: Option<String>,
pub runner_self_info: Option<String>,
pub runner_status: MonitorStatus,
}Expand description
Cluster monitor event information which has a selected subset of optional fields.
If an optional field is not selected (i.e., is None), it will not be serialized.
JSON schema
{
"description": "Cluster monitor event information which has a selected subset of optional fields.\nIf an optional field is not selected (i.e., is `None`), it will not be serialized.",
"type": "object",
"required": [
"all_healthy",
"api_status",
"compiler_status",
"id",
"recorded_at",
"runner_status"
],
"properties": {
"all_healthy": {
"type": "boolean"
},
"api_resources_info": {
"type": [
"string",
"null"
]
},
"api_self_info": {
"type": [
"string",
"null"
]
},
"api_status": {
"$ref": "#/components/schemas/MonitorStatus"
},
"compiler_resources_info": {
"type": [
"string",
"null"
]
},
"compiler_self_info": {
"type": [
"string",
"null"
]
},
"compiler_status": {
"$ref": "#/components/schemas/MonitorStatus"
},
"id": {
"$ref": "#/components/schemas/ClusterMonitorEventId"
},
"recorded_at": {
"type": "string",
"format": "date-time"
},
"runner_resources_info": {
"type": [
"string",
"null"
]
},
"runner_self_info": {
"type": [
"string",
"null"
]
},
"runner_status": {
"$ref": "#/components/schemas/MonitorStatus"
}
}
}Fields§
§all_healthy: bool§api_resources_info: Option<String>§api_self_info: Option<String>§api_status: MonitorStatus§compiler_resources_info: Option<String>§compiler_self_info: Option<String>§compiler_status: MonitorStatus§id: ClusterMonitorEventId§recorded_at: DateTime<Utc>§runner_resources_info: Option<String>§runner_self_info: Option<String>§runner_status: MonitorStatusImplementations§
Trait Implementations§
Source§impl Clone for ClusterMonitorEventSelectedInfo
impl Clone for ClusterMonitorEventSelectedInfo
Source§fn clone(&self) -> ClusterMonitorEventSelectedInfo
fn clone(&self) -> ClusterMonitorEventSelectedInfo
Returns a duplicate of the value. Read more
1.0.0 · 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 ClusterMonitorEventSelectedInfo
impl<'de> Deserialize<'de> for ClusterMonitorEventSelectedInfo
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<&ClusterMonitorEventSelectedInfo> for ClusterMonitorEventSelectedInfo
impl From<&ClusterMonitorEventSelectedInfo> for ClusterMonitorEventSelectedInfo
Source§fn from(value: &ClusterMonitorEventSelectedInfo) -> Self
fn from(value: &ClusterMonitorEventSelectedInfo) -> Self
Converts to this type from the input type.
Source§impl From<ClusterMonitorEventSelectedInfo> for ClusterMonitorEventSelectedInfo
impl From<ClusterMonitorEventSelectedInfo> for ClusterMonitorEventSelectedInfo
Source§fn from(value: ClusterMonitorEventSelectedInfo) -> Self
fn from(value: ClusterMonitorEventSelectedInfo) -> Self
Converts to this type from the input type.
Source§impl TryFrom<ClusterMonitorEventSelectedInfo> for ClusterMonitorEventSelectedInfo
impl TryFrom<ClusterMonitorEventSelectedInfo> for ClusterMonitorEventSelectedInfo
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: ClusterMonitorEventSelectedInfo,
) -> Result<Self, ConversionError>
fn try_from( value: ClusterMonitorEventSelectedInfo, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ClusterMonitorEventSelectedInfo
impl RefUnwindSafe for ClusterMonitorEventSelectedInfo
impl Send for ClusterMonitorEventSelectedInfo
impl Sync for ClusterMonitorEventSelectedInfo
impl Unpin for ClusterMonitorEventSelectedInfo
impl UnwindSafe for ClusterMonitorEventSelectedInfo
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