pub struct ProviderHealthSnapshot {
pub provider_mode: String,
pub status: ProviderHealthStatus,
pub successes: u64,
pub failures: u64,
pub consecutive_failures: u64,
pub budget_violations: u64,
pub last_latency_ms: Option<u64>,
pub latency_budget_ms: Option<u64>,
pub failure_threshold: u64,
}Expand description
Operator-facing health of one vision provider mode. Carries the thresholds
that produced status so consumers never re-derive them.
Fields§
§provider_mode: String§status: ProviderHealthStatus§successes: u64§failures: u64§consecutive_failures: u64§budget_violations: u64§last_latency_ms: Option<u64>§latency_budget_ms: Option<u64>§failure_threshold: u64Trait Implementations§
Source§impl Clone for ProviderHealthSnapshot
impl Clone for ProviderHealthSnapshot
Source§impl Debug for ProviderHealthSnapshot
impl Debug for ProviderHealthSnapshot
Source§impl<'de> Deserialize<'de> for ProviderHealthSnapshot
impl<'de> Deserialize<'de> for ProviderHealthSnapshot
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
impl Eq for ProviderHealthSnapshot
Source§impl PartialEq for ProviderHealthSnapshot
impl PartialEq for ProviderHealthSnapshot
Source§impl Serialize for ProviderHealthSnapshot
impl Serialize for ProviderHealthSnapshot
impl StructuralPartialEq for ProviderHealthSnapshot
Auto Trait Implementations§
impl Freeze for ProviderHealthSnapshot
impl RefUnwindSafe for ProviderHealthSnapshot
impl Send for ProviderHealthSnapshot
impl Sync for ProviderHealthSnapshot
impl Unpin for ProviderHealthSnapshot
impl UnsafeUnpin for ProviderHealthSnapshot
impl UnwindSafe for ProviderHealthSnapshot
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