pub struct AnalysisRow {
pub model: String,
pub edit_lines: usize,
pub read_lines: usize,
pub write_lines: usize,
pub bash_count: usize,
pub edit_count: usize,
pub read_count: usize,
pub todo_write_count: usize,
pub write_count: usize,
}Expand description
Display-side copy of one model’s analysis metrics.
Mirrors AggregatedAnalysisRow but is decoupled from the (de)serializable
aggregator type so the renderers can also use it as a mutable TOTAL
accumulator. Construct via convert_to_analysis_rows or Default.
Fields§
§model: StringModel name the metrics are grouped under.
edit_lines: usizeTotal lines changed by Edit/MultiEdit operations.
read_lines: usizeTotal lines returned by Read operations.
write_lines: usizeTotal lines emitted by Write operations.
bash_count: usizeNumber of Bash tool calls.
edit_count: usizeNumber of Edit tool calls.
read_count: usizeNumber of Read tool calls.
todo_write_count: usizeNumber of TodoWrite tool calls.
write_count: usizeNumber of Write tool calls.
Trait Implementations§
Source§impl Default for AnalysisRow
impl Default for AnalysisRow
Source§fn default() -> AnalysisRow
fn default() -> AnalysisRow
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AnalysisRow
impl RefUnwindSafe for AnalysisRow
impl Send for AnalysisRow
impl Sync for AnalysisRow
impl Unpin for AnalysisRow
impl UnsafeUnpin for AnalysisRow
impl UnwindSafe for AnalysisRow
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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