pub struct HealthSummary {
pub status: ConnectionStatus,
pub last_check: Option<DateTime<Utc>>,
pub total_connections: usize,
pub healthy_connections: usize,
pub unhealthy_connections: usize,
pub monitoring_enabled: bool,
pub check_interval: Duration,
}Expand description
Health summary information
Fields§
§status: ConnectionStatusCurrent connection status
last_check: Option<DateTime<Utc>>Timestamp of last health check
total_connections: usizeTotal number of connections
healthy_connections: usizeNumber of healthy connections
unhealthy_connections: usizeNumber of unhealthy connections
monitoring_enabled: boolWhether monitoring is enabled
check_interval: DurationHealth check interval
Trait Implementations§
Source§impl Clone for HealthSummary
impl Clone for HealthSummary
Source§fn clone(&self) -> HealthSummary
fn clone(&self) -> HealthSummary
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 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 Freeze for HealthSummary
impl RefUnwindSafe for HealthSummary
impl Send for HealthSummary
impl Sync for HealthSummary
impl Unpin for HealthSummary
impl UnwindSafe for HealthSummary
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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