pub struct PoolHealthStatus {
pub total_deployments: usize,
pub healthy_deployments: usize,
pub avg_latency_ms: u64,
pub pool_healthy: bool,
pub deployments: Vec<DeploymentStatus>,
}Expand description
Aggregate health status for a pool.
Fields§
§total_deployments: usizeTotal number of deployments
healthy_deployments: usizeNumber of healthy deployments
avg_latency_ms: u64Average latency across healthy deployments
pool_healthy: boolWhether the pool is considered healthy (at least one deployment healthy)
deployments: Vec<DeploymentStatus>Individual deployment statuses
Trait Implementations§
Source§impl Clone for PoolHealthStatus
impl Clone for PoolHealthStatus
Source§fn clone(&self) -> PoolHealthStatus
fn clone(&self) -> PoolHealthStatus
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 moreAuto Trait Implementations§
impl Freeze for PoolHealthStatus
impl RefUnwindSafe for PoolHealthStatus
impl Send for PoolHealthStatus
impl Sync for PoolHealthStatus
impl Unpin for PoolHealthStatus
impl UnwindSafe for PoolHealthStatus
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