pub struct HealthSummary {
pub domain: HealthDomain,
pub status: HealthStatus,
pub total_events: usize,
pub error_count: usize,
pub warning_count: usize,
pub last_event_at: Option<DateTime<Utc>>,
pub active_alerts: Vec<String>,
}Expand description
Aggregated health for a specific domain.
Fields§
§domain: HealthDomainWhich domain this summary covers.
status: HealthStatusDerived health status.
total_events: usizeTotal events counted.
error_count: usizeEvents with Error or Critical severity.
warning_count: usizeEvents with Warning severity.
last_event_at: Option<DateTime<Utc>>Timestamp of the most recent event, if any.
active_alerts: Vec<String>Names of active alerts relevant to this domain.
Trait Implementations§
Source§impl Clone for HealthSummary
impl Clone for HealthSummary
Source§impl Debug for HealthSummary
impl Debug for HealthSummary
Source§impl<'de> Deserialize<'de> for HealthSummary
impl<'de> Deserialize<'de> for HealthSummary
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
Auto Trait Implementations§
impl Forget for HealthSummary
impl Freeze for HealthSummary
impl RefUnwindSafe for HealthSummary
impl Send for HealthSummary
impl Sync for HealthSummary
impl Unpin for HealthSummary
impl UnsafeUnpin for HealthSummary
impl UnwindSafe for HealthSummary
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