pub struct AgentSwarmStarted {
pub thread_id: ThreadId,
pub turn_id: TurnId,
pub tool_id: String,
pub child_count: usize,
pub timestamp: OffsetDateTime,
}Expand description
Emitted when the agent_swarm tool begins fanning out children, so any
app-server/SDK/TUI client can observe the swarm as a whole. Per-child
progress flows through the existing Subagent* trace events.
Fields§
§thread_id: ThreadId§turn_id: TurnId§tool_id: String§child_count: usizeChildren the swarm will launch (item-based spawns plus resumes).
timestamp: OffsetDateTimeTrait Implementations§
Source§impl Clone for AgentSwarmStarted
impl Clone for AgentSwarmStarted
Source§impl Debug for AgentSwarmStarted
impl Debug for AgentSwarmStarted
Source§impl<'de> Deserialize<'de> for AgentSwarmStarted
impl<'de> Deserialize<'de> for AgentSwarmStarted
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
impl Eq for AgentSwarmStarted
Source§impl PartialEq for AgentSwarmStarted
impl PartialEq for AgentSwarmStarted
Source§impl Serialize for AgentSwarmStarted
impl Serialize for AgentSwarmStarted
impl StructuralPartialEq for AgentSwarmStarted
Auto Trait Implementations§
impl Freeze for AgentSwarmStarted
impl RefUnwindSafe for AgentSwarmStarted
impl Send for AgentSwarmStarted
impl Sync for AgentSwarmStarted
impl Unpin for AgentSwarmStarted
impl UnsafeUnpin for AgentSwarmStarted
impl UnwindSafe for AgentSwarmStarted
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.