pub struct SystemHealth {
pub overall_status: HealthStatus,
pub checks: Vec<HealthCheckResult>,
pub uptime: Duration,
pub last_check: DateTime<Utc>,
}
Expand description
Overall system health
Fields§
§overall_status: HealthStatus
Overall status
checks: Vec<HealthCheckResult>
Individual check results
uptime: Duration
System uptime
last_check: DateTime<Utc>
Last health check time
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 Default for SystemHealth
impl Default for SystemHealth
Source§fn default() -> SystemHealth
fn default() -> SystemHealth
Returns the “default value” for a type. 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