pub struct SubAgentResult {
pub agent_id: AgentId,
pub name: String,
pub final_content: String,
pub total_tokens: u64,
pub iterations: usize,
pub tool_calls_count: usize,
}Expand description
Result returned when a subagent completes.
Fields§
§agent_id: AgentId§name: String§final_content: String§total_tokens: u64§iterations: usize§tool_calls_count: usizeTrait Implementations§
Source§impl Clone for SubAgentResult
impl Clone for SubAgentResult
Source§fn clone(&self) -> SubAgentResult
fn clone(&self) -> SubAgentResult
Returns a duplicate of the value. Read more
1.0.0 · 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 SubAgentResult
impl Debug for SubAgentResult
Source§impl From<(Uuid, &str, AgentLoopResult)> for SubAgentResult
impl From<(Uuid, &str, AgentLoopResult)> for SubAgentResult
Auto Trait Implementations§
impl Freeze for SubAgentResult
impl RefUnwindSafe for SubAgentResult
impl Send for SubAgentResult
impl Sync for SubAgentResult
impl Unpin for SubAgentResult
impl UnsafeUnpin for SubAgentResult
impl UnwindSafe for SubAgentResult
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