pub struct EngineAggregateMetricsSnapshot {
pub total_running_reqs: i32,
pub total_waiting_reqs: i32,
pub total_reqs: i32,
pub avg_token_usage: f64,
pub avg_throughput: f64,
pub avg_utilization: f64,
}Fields§
§total_running_reqs: i32§total_waiting_reqs: i32§total_reqs: i32§avg_token_usage: f64§avg_throughput: f64§avg_utilization: f64Trait Implementations§
Source§impl Clone for EngineAggregateMetricsSnapshot
impl Clone for EngineAggregateMetricsSnapshot
Source§fn clone(&self) -> EngineAggregateMetricsSnapshot
fn clone(&self) -> EngineAggregateMetricsSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for EngineAggregateMetricsSnapshot
impl Default for EngineAggregateMetricsSnapshot
Source§fn default() -> EngineAggregateMetricsSnapshot
fn default() -> EngineAggregateMetricsSnapshot
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EngineAggregateMetricsSnapshot
impl<'de> Deserialize<'de> for EngineAggregateMetricsSnapshot
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 EngineAggregateMetricsSnapshot
impl RefUnwindSafe for EngineAggregateMetricsSnapshot
impl Send for EngineAggregateMetricsSnapshot
impl Sync for EngineAggregateMetricsSnapshot
impl Unpin for EngineAggregateMetricsSnapshot
impl UnsafeUnpin for EngineAggregateMetricsSnapshot
impl UnwindSafe for EngineAggregateMetricsSnapshot
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