pub struct EngineHealth {
pub status: HealthStatus,
pub error_rate: f64,
pub average_response_time_ms: f64,
pub cache_hit_rate: f64,
pub total_requests: usize,
}Expand description
引擎健康状态
Fields§
§status: HealthStatus§error_rate: f64§average_response_time_ms: f64§cache_hit_rate: f64§total_requests: usizeTrait Implementations§
Source§impl Clone for EngineHealth
impl Clone for EngineHealth
Source§fn clone(&self) -> EngineHealth
fn clone(&self) -> EngineHealth
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 EngineHealth
impl RefUnwindSafe for EngineHealth
impl Send for EngineHealth
impl Sync for EngineHealth
impl Unpin for EngineHealth
impl UnwindSafe for EngineHealth
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