pub struct BackgroundSubagentInfo {
pub id: String,
pub description: String,
pub output: String,
pub tools_completed: usize,
pub done: bool,
pub started: Instant,
pub current_tool: Option<String>,
pub current_tool_detail: Option<String>,
pub tool_history: Vec<SubagentToolEntry>,
pub tokens: u32,
pub cost: f64,
pub text_lines: Vec<String>,
}Fields§
§id: String§description: String§output: String§tools_completed: usize§done: bool§started: Instant§current_tool: Option<String>§current_tool_detail: Option<String>§tool_history: Vec<SubagentToolEntry>§tokens: u32§cost: f64§text_lines: Vec<String>Auto Trait Implementations§
impl Freeze for BackgroundSubagentInfo
impl RefUnwindSafe for BackgroundSubagentInfo
impl Send for BackgroundSubagentInfo
impl Sync for BackgroundSubagentInfo
impl Unpin for BackgroundSubagentInfo
impl UnsafeUnpin for BackgroundSubagentInfo
impl UnwindSafe for BackgroundSubagentInfo
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