pub struct Reporter { /* private fields */ }Implementations§
Source§impl Reporter
impl Reporter
pub fn new() -> Self
pub fn with_colors(self, show_colors: bool) -> Self
Sourcepub fn print_terminal(&self, analyses: &[SessionAnalysis])
pub fn print_terminal(&self, analyses: &[SessionAnalysis])
Print analysis results to terminal with rich formatting
Sourcepub fn to_markdown(&self, analyses: &[SessionAnalysis]) -> Result<String>
pub fn to_markdown(&self, analyses: &[SessionAnalysis]) -> Result<String>
Generate markdown report
Sourcepub fn to_json(&self, analyses: &[SessionAnalysis]) -> Result<String>
pub fn to_json(&self, analyses: &[SessionAnalysis]) -> Result<String>
Generate JSON report
Sourcepub fn to_csv(&self, analyses: &[SessionAnalysis]) -> Result<String>
pub fn to_csv(&self, analyses: &[SessionAnalysis]) -> Result<String>
Generate CSV report
pub fn format_agent_icon(&self, agent_type: &str) -> String
Sourcepub fn print_tool_analysis(&self, stats: &HashMap<String, ToolStatistics>)
pub fn print_tool_analysis(&self, stats: &HashMap<String, ToolStatistics>)
Print tool usage analysis to terminal
Sourcepub fn print_tool_analysis_detailed(
&self,
analysis: &ToolAnalysis,
show_correlation: bool,
) -> Result<()>
pub fn print_tool_analysis_detailed( &self, analysis: &ToolAnalysis, show_correlation: bool, ) -> Result<()>
Print detailed tool analysis with correlation matrix
Sourcepub fn print_correlation_matrix(&self, correlations: &[AgentToolCorrelation])
pub fn print_correlation_matrix(&self, correlations: &[AgentToolCorrelation])
Print agent-tool correlation matrix using Unicode blocks
Sourcepub fn tool_analysis_to_json(&self, analysis: &ToolAnalysis) -> Result<String>
pub fn tool_analysis_to_json(&self, analysis: &ToolAnalysis) -> Result<String>
Export tool analysis to JSON
Sourcepub fn tool_analysis_to_csv(&self, analysis: &ToolAnalysis) -> Result<String>
pub fn tool_analysis_to_csv(&self, analysis: &ToolAnalysis) -> Result<String>
Export tool analysis to CSV
Sourcepub fn tool_analysis_to_markdown(
&self,
analysis: &ToolAnalysis,
) -> Result<String>
pub fn tool_analysis_to_markdown( &self, analysis: &ToolAnalysis, ) -> Result<String>
Export tool analysis to Markdown
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Reporter
impl RefUnwindSafe for Reporter
impl Send for Reporter
impl Sync for Reporter
impl Unpin for Reporter
impl UnsafeUnpin for Reporter
impl UnwindSafe for Reporter
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