pub struct SystemHealth {
pub events_in_memory: usize,
pub active_alerts: usize,
pub last_event_time: Option<DateTime<Utc>>,
pub memory_usage_mb: u64,
}
Expand description
System health information
Fields§
§events_in_memory: usize
§active_alerts: usize
§last_event_time: Option<DateTime<Utc>>
§memory_usage_mb: u64
Trait Implementations§
Source§impl Clone for SystemHealth
impl Clone for SystemHealth
Source§fn clone(&self) -> SystemHealth
fn clone(&self) -> SystemHealth
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 SystemHealth
impl Debug for SystemHealth
Source§impl<'de> Deserialize<'de> for SystemHealth
impl<'de> Deserialize<'de> for SystemHealth
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 Freeze for SystemHealth
impl RefUnwindSafe for SystemHealth
impl Send for SystemHealth
impl Sync for SystemHealth
impl Unpin for SystemHealth
impl UnwindSafe for SystemHealth
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