pub struct OperationalFactors {
pub uptime_ratio: f64,
pub error_rate: f64,
pub avg_latency_ms: u64,
}Expand description
Factors contributing to the operational score.
Fields§
§uptime_ratio: f64Ratio of successful operations to total (0.0 - 1.0).
error_rate: f64Current error rate (0.0 - 1.0).
avg_latency_ms: u64Average latency in milliseconds (derived from last tick delta).
Trait Implementations§
Source§impl Clone for OperationalFactors
impl Clone for OperationalFactors
Source§fn clone(&self) -> OperationalFactors
fn clone(&self) -> OperationalFactors
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 OperationalFactors
impl Debug for OperationalFactors
Source§impl<'de> Deserialize<'de> for OperationalFactors
impl<'de> Deserialize<'de> for OperationalFactors
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 OperationalFactors
impl RefUnwindSafe for OperationalFactors
impl Send for OperationalFactors
impl Sync for OperationalFactors
impl Unpin for OperationalFactors
impl UnsafeUnpin for OperationalFactors
impl UnwindSafe for OperationalFactors
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