pub struct AgentSwarmChildSpec {
pub index: usize,
pub kind: AgentSwarmChildKind,
pub item: Option<String>,
pub prompt: String,
pub resume_agent_id: Option<String>,
}Expand description
One ordered child to dispatch as part of a swarm.
Fields§
§index: usize1-based ordering index, stable across the whole swarm.
kind: AgentSwarmChildKind§item: Option<String>The item value (for spawns) used to render the prompt, when present.
prompt: StringThe fully-rendered prompt for this child.
resume_agent_id: Option<String>For resumes, the existing agent id to continue.
Trait Implementations§
Source§impl Clone for AgentSwarmChildSpec
impl Clone for AgentSwarmChildSpec
Source§impl Debug for AgentSwarmChildSpec
impl Debug for AgentSwarmChildSpec
impl Eq for AgentSwarmChildSpec
Source§impl PartialEq for AgentSwarmChildSpec
impl PartialEq for AgentSwarmChildSpec
impl StructuralPartialEq for AgentSwarmChildSpec
Auto Trait Implementations§
impl Freeze for AgentSwarmChildSpec
impl RefUnwindSafe for AgentSwarmChildSpec
impl Send for AgentSwarmChildSpec
impl Sync for AgentSwarmChildSpec
impl Unpin for AgentSwarmChildSpec
impl UnsafeUnpin for AgentSwarmChildSpec
impl UnwindSafe for AgentSwarmChildSpec
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.