pub struct SubagentProgressPayload {
pub node_id: String,
pub parent_tool_call_id: String,
pub subagent_tool_name: String,
pub subagent_tool_args: String,
pub subagent_status: String,
pub subagent_duration_ms: i64,
pub subagent_iteration: i32,
pub started_at: i64,
}Expand description
Payload of a subagent_progress SSE event, emitted every time the
subagent calls one of its own tools. Use it to render a live timeline
inside the subagent card.
Fields§
§node_id: StringID of the node that spawned the subagent
parent_tool_call_id: Stringtool_use_id of the owning SubagentStarted event
subagent_tool_name: StringName of the tool the subagent called
subagent_tool_args: StringArguments of that call, as a JSON string
subagent_status: StringStatus of that call: running / succeeded / failed
subagent_duration_ms: i64Duration of that call in milliseconds
subagent_iteration: i32The subagent’s internal round number
started_at: i64Start time, Unix timestamp in seconds
Trait Implementations§
Source§impl Clone for SubagentProgressPayload
impl Clone for SubagentProgressPayload
Source§fn clone(&self) -> SubagentProgressPayload
fn clone(&self) -> SubagentProgressPayload
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 SubagentProgressPayload
impl Debug for SubagentProgressPayload
Source§impl Default for SubagentProgressPayload
impl Default for SubagentProgressPayload
Source§fn default() -> SubagentProgressPayload
fn default() -> SubagentProgressPayload
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SubagentProgressPayload
impl<'de> Deserialize<'de> for SubagentProgressPayload
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
Auto Trait Implementations§
impl Freeze for SubagentProgressPayload
impl RefUnwindSafe for SubagentProgressPayload
impl Send for SubagentProgressPayload
impl Sync for SubagentProgressPayload
impl Unpin for SubagentProgressPayload
impl UnsafeUnpin for SubagentProgressPayload
impl UnwindSafe for SubagentProgressPayload
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> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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