pub struct ClusterMonitorEvent {
pub api_status: MonitorStatus,
pub compiler_status: MonitorStatus,
pub id: ClusterMonitorEventId,
pub recorded_at: DateTime<Utc>,
pub runner_status: MonitorStatus,
}Expand description
Brief cluster monitoring event with only the identifier, timestamp and health conclusions.
JSON schema
{
"description": "Brief cluster monitoring event with only the identifier, timestamp and health conclusions.",
"type": "object",
"required": [
"api_status",
"compiler_status",
"id",
"recorded_at",
"runner_status"
],
"properties": {
"api_status": {
"$ref": "#/components/schemas/MonitorStatus"
},
"compiler_status": {
"$ref": "#/components/schemas/MonitorStatus"
},
"id": {
"$ref": "#/components/schemas/ClusterMonitorEventId"
},
"recorded_at": {
"description": "Timestamp at which the event was recorded in the database. Because collecting the data for\nthe health checks can take time, this timestamp is approximate.",
"type": "string",
"format": "date-time"
},
"runner_status": {
"$ref": "#/components/schemas/MonitorStatus"
}
}
}Fields§
§api_status: MonitorStatus§compiler_status: MonitorStatus§id: ClusterMonitorEventId§recorded_at: DateTime<Utc>Timestamp at which the event was recorded in the database. Because collecting the data for the health checks can take time, this timestamp is approximate.
runner_status: MonitorStatusImplementations§
Source§impl ClusterMonitorEvent
impl ClusterMonitorEvent
pub fn builder() -> ClusterMonitorEvent
Trait Implementations§
Source§impl Clone for ClusterMonitorEvent
impl Clone for ClusterMonitorEvent
Source§fn clone(&self) -> ClusterMonitorEvent
fn clone(&self) -> ClusterMonitorEvent
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 Debug for ClusterMonitorEvent
impl Debug for ClusterMonitorEvent
Source§impl<'de> Deserialize<'de> for ClusterMonitorEvent
impl<'de> Deserialize<'de> for ClusterMonitorEvent
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<&ClusterMonitorEvent> for ClusterMonitorEvent
impl From<&ClusterMonitorEvent> for ClusterMonitorEvent
Source§fn from(value: &ClusterMonitorEvent) -> Self
fn from(value: &ClusterMonitorEvent) -> Self
Converts to this type from the input type.
Source§impl From<ClusterMonitorEvent> for ClusterMonitorEvent
impl From<ClusterMonitorEvent> for ClusterMonitorEvent
Source§fn from(value: ClusterMonitorEvent) -> Self
fn from(value: ClusterMonitorEvent) -> Self
Converts to this type from the input type.
Source§impl Serialize for ClusterMonitorEvent
impl Serialize for ClusterMonitorEvent
Source§impl TryFrom<ClusterMonitorEvent> for ClusterMonitorEvent
impl TryFrom<ClusterMonitorEvent> for ClusterMonitorEvent
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: ClusterMonitorEvent) -> Result<Self, ConversionError>
fn try_from(value: ClusterMonitorEvent) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ClusterMonitorEvent
impl RefUnwindSafe for ClusterMonitorEvent
impl Send for ClusterMonitorEvent
impl Sync for ClusterMonitorEvent
impl Unpin for ClusterMonitorEvent
impl UnwindSafe for ClusterMonitorEvent
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