pub struct Stats {
pub event_count: u64,
pub message_count: u64,
pub tool_call_count: u64,
pub task_count: u64,
pub duration_seconds: u64,
pub total_input_tokens: u64,
pub total_output_tokens: u64,
pub user_message_count: u64,
pub files_changed: u64,
pub lines_added: u64,
pub lines_removed: u64,
}Expand description
Aggregate session statistics
Fields§
§event_count: u64§message_count: u64§tool_call_count: u64§task_count: u64§duration_seconds: u64§total_input_tokens: u64§total_output_tokens: u64§user_message_count: u64§files_changed: u64§lines_added: u64§lines_removed: u64Trait Implementations§
Source§impl<'de> Deserialize<'de> for Stats
impl<'de> Deserialize<'de> for Stats
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 Stats
impl RefUnwindSafe for Stats
impl Send for Stats
impl Sync for Stats
impl Unpin for Stats
impl UnwindSafe for Stats
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