pub struct RunStats {
pub run_count: u64,
pub failed_run_count: u64,
pub aborted_run_count: u64,
pub model_calls: u64,
pub tool_calls: u64,
pub failed_tool_calls: u64,
pub elapsed_ms: u64,
pub usage: TokenUsage,
pub active: Option<RunSummary>,
}Expand description
Completed execution totals plus the active run, when one exists.
Fields§
§run_count: u64§failed_run_count: u64§aborted_run_count: u64§model_calls: u64§tool_calls: u64§failed_tool_calls: u64§elapsed_ms: u64§usage: TokenUsage§active: Option<RunSummary>Trait Implementations§
Source§impl<'de> Deserialize<'de> for RunStats
impl<'de> Deserialize<'de> for RunStats
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 RunStats
impl StructuralPartialEq for RunStats
Auto Trait Implementations§
impl Freeze for RunStats
impl RefUnwindSafe for RunStats
impl Send for RunStats
impl Sync for RunStats
impl Unpin for RunStats
impl UnsafeUnpin for RunStats
impl UnwindSafe for RunStats
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