pub struct Health {
pub connection_status: Option<HealthConnectionStatus>,
pub health_status: Option<HealthHealthStatus>,
pub components: Option<Vec<ComponentHealth>>,
pub update_time: Option<DateTime<Utc>>,
pub active_alerts: Option<Vec<Alert>>,
}Expand description
General health of the entity as reported by the entity.
Fields§
§connection_status: Option<HealthConnectionStatus>Status indicating whether the entity is able to communicate with Entity Manager.
health_status: Option<HealthHealthStatus>Top-level health status; typically a roll-up of individual component healths.
components: Option<Vec<ComponentHealth>>Health of individual components running on this Entity.
update_time: Option<DateTime<Utc>>The update time for the top-level health information. If this timestamp is unset, the data is assumed to be most recent
active_alerts: Option<Vec<Alert>>Active alerts indicate a critical change in system state sent by the asset that must be made known to an operator or consumer of the common operating picture. Alerts are different from ComponentHealth messages–an active alert does not necessarily indicate a component is in an unhealthy state. For example, an asset may trigger an active alert based on fuel levels running low. Alerts should be removed from this list when their conditions are cleared. In other words, only active alerts should be reported here.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Health
impl<'de> Deserialize<'de> for Health
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>,
impl Eq for Health
impl StructuralPartialEq for Health
Auto Trait Implementations§
impl Freeze for Health
impl RefUnwindSafe for Health
impl Send for Health
impl Sync for Health
impl Unpin for Health
impl UnwindSafe for Health
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.