pub struct CorpusStats {Show 13 fields
pub file_count: usize,
pub parse_success_count: usize,
pub parse_error_count: usize,
pub filtered_out_count: usize,
pub total_steps: usize,
pub total_tokens_in: u64,
pub total_tokens_out: u64,
pub total_cache_read: u64,
pub total_cache_create: u64,
pub total_cost_usd: Option<f64>,
pub per_model: Vec<ModelBucket>,
pub per_tool: Vec<ToolBucket>,
pub per_format: Vec<FormatBucket>,
}Expand description
Aggregate stats across the surviving parsed sessions.
Fields§
§file_count: usize§parse_success_count: usize§parse_error_count: usize§filtered_out_count: usize§total_steps: usize§total_tokens_in: u64§total_tokens_out: u64§total_cache_read: u64§total_cache_create: u64§total_cost_usd: Option<f64>§per_model: Vec<ModelBucket>§per_tool: Vec<ToolBucket>§per_format: Vec<FormatBucket>Trait Implementations§
Source§impl Debug for CorpusStats
impl Debug for CorpusStats
Source§impl Default for CorpusStats
impl Default for CorpusStats
Source§fn default() -> CorpusStats
fn default() -> CorpusStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CorpusStats
impl RefUnwindSafe for CorpusStats
impl Send for CorpusStats
impl Sync for CorpusStats
impl Unpin for CorpusStats
impl UnsafeUnpin for CorpusStats
impl UnwindSafe for CorpusStats
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more