pub struct SessionSummary {
pub id: String,
pub project: Option<String>,
pub model: Option<String>,
pub started_at: Option<Timestamp>,
pub rollup: Rollup,
pub sub_agents: u64,
pub sub_agent_tokens: u64,
}Expand description
Per-session line in the summary. Sub-agent transcript spend is folded in.
Fields§
§id: String§project: Option<String>§model: Option<String>§started_at: Option<Timestamp>§rollup: Rollup§sub_agents: u64Sub-agents attributed to this session (spawn tool calls / folded transcripts, whichever evidence is stronger).
sub_agent_tokens: u64Known tokens contributed by folded sub-agent transcripts.
Trait Implementations§
Source§impl Clone for SessionSummary
impl Clone for SessionSummary
Source§fn clone(&self) -> SessionSummary
fn clone(&self) -> SessionSummary
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SessionSummary
impl Debug for SessionSummary
Auto Trait Implementations§
impl Freeze for SessionSummary
impl RefUnwindSafe for SessionSummary
impl Send for SessionSummary
impl Sync for SessionSummary
impl Unpin for SessionSummary
impl UnsafeUnpin for SessionSummary
impl UnwindSafe for SessionSummary
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