pub struct HealthMetrics {
pub overall_health: HealthStatus,
pub last_health_check: SystemTime,
pub consecutive_failures: u32,
pub recovery_attempts: u32,
pub system_uptime: Duration,
}Fields§
§overall_health: HealthStatus§last_health_check: SystemTime§consecutive_failures: u32§recovery_attempts: u32§system_uptime: DurationTrait Implementations§
Source§impl Clone for HealthMetrics
impl Clone for HealthMetrics
Source§fn clone(&self) -> HealthMetrics
fn clone(&self) -> HealthMetrics
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 HealthMetrics
impl Debug for HealthMetrics
Source§impl<'de> Deserialize<'de> for HealthMetrics
impl<'de> Deserialize<'de> for HealthMetrics
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 HealthMetrics
impl RefUnwindSafe for HealthMetrics
impl Send for HealthMetrics
impl Sync for HealthMetrics
impl Unpin for HealthMetrics
impl UnwindSafe for HealthMetrics
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