pub struct SubagentReport {
pub name: String,
pub status: SubagentStatus,
pub text: Option<String>,
pub iters: u32,
pub usage: Usage,
}Expand description
A subagent’s structured report back to the parent.
Fields§
§name: String§status: SubagentStatus§text: Option<String>§iters: u32§usage: UsageToken usage accumulated by the subagent’s loop. Lets callers
(e.g. harness-loop-engine’s TokenBudget) account for spend
across maker/checker turns.
Trait Implementations§
Source§impl Clone for SubagentReport
impl Clone for SubagentReport
Source§fn clone(&self) -> SubagentReport
fn clone(&self) -> SubagentReport
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 moreAuto Trait Implementations§
impl Freeze for SubagentReport
impl RefUnwindSafe for SubagentReport
impl Send for SubagentReport
impl Sync for SubagentReport
impl Unpin for SubagentReport
impl UnsafeUnpin for SubagentReport
impl UnwindSafe for SubagentReport
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