pub struct AgentSwarmChildResult {
pub index: usize,
pub kind: AgentSwarmChildKind,
pub item: Option<String>,
pub agent_id: Option<String>,
pub outcome: AgentSwarmChildOutcome,
pub state: Option<AgentSwarmChildState>,
pub body: String,
pub usage: Option<TokenUsage>,
}Expand description
Outcome of a single resolved swarm child entry.
Fields§
§index: usize§kind: AgentSwarmChildKind§item: Option<String>§agent_id: Option<String>§outcome: AgentSwarmChildOutcome§state: Option<AgentSwarmChildState>§body: String§usage: Option<TokenUsage>Trait Implementations§
Source§impl Clone for AgentSwarmChildResult
impl Clone for AgentSwarmChildResult
Source§fn clone(&self) -> AgentSwarmChildResult
fn clone(&self) -> AgentSwarmChildResult
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 AgentSwarmChildResult
impl Debug for AgentSwarmChildResult
Source§impl<'de> Deserialize<'de> for AgentSwarmChildResult
impl<'de> Deserialize<'de> for AgentSwarmChildResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AgentSwarmChildResult
impl PartialEq for AgentSwarmChildResult
Source§impl Serialize for AgentSwarmChildResult
impl Serialize for AgentSwarmChildResult
impl StructuralPartialEq for AgentSwarmChildResult
Auto Trait Implementations§
impl Freeze for AgentSwarmChildResult
impl RefUnwindSafe for AgentSwarmChildResult
impl Send for AgentSwarmChildResult
impl Sync for AgentSwarmChildResult
impl Unpin for AgentSwarmChildResult
impl UnsafeUnpin for AgentSwarmChildResult
impl UnwindSafe for AgentSwarmChildResult
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