pub struct SubagentSummary {
pub agent_id: String,
pub agent_type: Option<String>,
pub description: Option<String>,
pub turns: usize,
pub output_tokens: u64,
pub cost: f64,
}Expand description
One subagent’s roll-up for the session detail view.
Distinct from the previous AgentDetail (which keyed off turn.agent_id):
this is keyed off the file-level grouping (one entry per agent JSONL).
Fields§
§agent_id: String§agent_type: Option<String>§description: Option<String>§turns: usize§output_tokens: u64§cost: f64Trait Implementations§
Source§impl Clone for SubagentSummary
impl Clone for SubagentSummary
Source§fn clone(&self) -> SubagentSummary
fn clone(&self) -> SubagentSummary
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 SubagentSummary
impl Debug for SubagentSummary
Auto Trait Implementations§
impl Freeze for SubagentSummary
impl RefUnwindSafe for SubagentSummary
impl Send for SubagentSummary
impl Sync for SubagentSummary
impl Unpin for SubagentSummary
impl UnsafeUnpin for SubagentSummary
impl UnwindSafe for SubagentSummary
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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