pub struct RoutingStats {
pub total_providers: usize,
pub healthy_providers: usize,
pub degraded_providers: usize,
pub unhealthy_providers: usize,
pub average_latency_ms: f64,
pub provider_details: HashMap<String, ProviderHealthStatus>,
}
Fields§
§total_providers: usize
§healthy_providers: usize
§degraded_providers: usize
§unhealthy_providers: usize
§average_latency_ms: f64
§provider_details: HashMap<String, ProviderHealthStatus>
Trait Implementations§
Source§impl Clone for RoutingStats
impl Clone for RoutingStats
Source§fn clone(&self) -> RoutingStats
fn clone(&self) -> RoutingStats
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 RoutingStats
impl Debug for RoutingStats
Source§impl<'de> Deserialize<'de> for RoutingStats
impl<'de> Deserialize<'de> for RoutingStats
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 RoutingStats
impl RefUnwindSafe for RoutingStats
impl Send for RoutingStats
impl Sync for RoutingStats
impl Unpin for RoutingStats
impl UnwindSafe for RoutingStats
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