pub struct ToolSummary {
pub tool_name: String,
pub call_count: u64,
pub error_count: u64,
pub error_rate: f64,
pub total_duration_ms: i64,
pub avg_duration_ms: Option<f64>,
pub p50_duration_ms: Option<i64>,
pub p95_duration_ms: Option<i64>,
pub p99_duration_ms: Option<i64>,
}Fields§
§tool_name: String§call_count: u64§error_count: u64§error_rate: f64§total_duration_ms: i64§avg_duration_ms: Option<f64>§p50_duration_ms: Option<i64>§p95_duration_ms: Option<i64>§p99_duration_ms: Option<i64>Trait Implementations§
Source§impl Clone for ToolSummary
impl Clone for ToolSummary
Source§fn clone(&self) -> ToolSummary
fn clone(&self) -> ToolSummary
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 Debug for ToolSummary
impl Debug for ToolSummary
Source§impl<'de> Deserialize<'de> for ToolSummary
impl<'de> Deserialize<'de> for ToolSummary
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
Source§impl PartialEq for ToolSummary
impl PartialEq for ToolSummary
Source§fn eq(&self, other: &ToolSummary) -> bool
fn eq(&self, other: &ToolSummary) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ToolSummary
impl Serialize for ToolSummary
impl StructuralPartialEq for ToolSummary
Auto Trait Implementations§
impl Freeze for ToolSummary
impl RefUnwindSafe for ToolSummary
impl Send for ToolSummary
impl Sync for ToolSummary
impl Unpin for ToolSummary
impl UnsafeUnpin for ToolSummary
impl UnwindSafe for ToolSummary
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