pub struct HealthStatus {
pub overall_status: HealthState,
pub component_health: Vec<ComponentHealth>,
pub active_issues: Vec<HealthIssue>,
pub performance_grade: char,
pub uptime_seconds: u64,
pub last_check_time: u64,
}Expand description
System health status with detailed component diagnostics
Comprehensive health check information including overall status, component-level health, active issues, and performance grading.
Fields§
§overall_status: HealthStateOverall system health state
component_health: Vec<ComponentHealth>Health status of individual system components
active_issues: Vec<HealthIssue>List of currently active health issues
performance_grade: charPerformance grade from ‘A’ (excellent) to ‘F’ (failing)
uptime_seconds: u64System uptime in seconds since last restart
last_check_time: u64Timestamp of this health check in nanoseconds
Trait Implementations§
Source§impl Clone for HealthStatus
impl Clone for HealthStatus
Source§fn clone(&self) -> HealthStatus
fn clone(&self) -> HealthStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for HealthStatus
impl RefUnwindSafe for HealthStatus
impl Send for HealthStatus
impl Sync for HealthStatus
impl Unpin for HealthStatus
impl UnwindSafe for HealthStatus
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