pub struct HtmlSessionSummary {Show 20 fields
pub id: String,
pub project: Option<String>,
pub turns: usize,
pub agent_turn_count: u64,
pub cost: f64,
pub duration_minutes: Option<f64>,
pub model: Option<String>,
pub cache_hit_rate: Option<f64>,
pub first_timestamp: Option<String>,
pub last_timestamp: Option<String>,
pub title: Option<String>,
pub tags: Vec<String>,
pub mode: Option<String>,
pub subagents: Vec<HtmlSubagentSummary>,
pub plugins: Vec<PluginUsage>,
pub skills: Vec<SkillUsage>,
pub hooks: Vec<HookUsage>,
pub subagent_types: Vec<SubagentTypeAggregate>,
pub workflows: Vec<WorkflowSummary>,
pub is_orphan: bool,
}Expand description
Per-session summary for the HTML dashboard.
Fields§
§id: String§project: Option<String>§turns: usize§agent_turn_count: u64§cost: f64§duration_minutes: Option<f64>§model: Option<String>§cache_hit_rate: Option<f64>§first_timestamp: Option<String>§last_timestamp: Option<String>§title: Option<String>§mode: Option<String>§subagents: Vec<HtmlSubagentSummary>§plugins: Vec<PluginUsage>§skills: Vec<SkillUsage>§hooks: Vec<HookUsage>§subagent_types: Vec<SubagentTypeAggregate>Per-agent_type rollup of subagents[] for chip rendering.
workflows: Vec<WorkflowSummary>Workflow runs (agent() orchestrations, Claude Code 2.1.159+) for this
session. Always emitted (possibly empty). Each entry combines the run
snapshot (workflowName/status/durationMs/agentCount/totalTokens/phases)
with measured parsed totals (parsedAgentCount/parsedTurns/
parsedOutputTokens/parsedCost). WorkflowSummary serializes to camelCase.
is_orphan: boolOrphan session: scanner reconstructed this session from subagent jsonl files only (parent jsonl deleted). Totals still include it.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HtmlSessionSummary
impl RefUnwindSafe for HtmlSessionSummary
impl Send for HtmlSessionSummary
impl Sync for HtmlSessionSummary
impl Unpin for HtmlSessionSummary
impl UnsafeUnpin for HtmlSessionSummary
impl UnwindSafe for HtmlSessionSummary
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