pub struct SubagentStatusView {Show 16 fields
pub agent_id: SubagentId,
pub task_id: SubagentTaskId,
pub display_name: Option<String>,
pub role: Option<String>,
pub status: SubagentStatusLabel,
pub summary: String,
pub result: Option<SubagentResultView>,
pub output_paths: Vec<String>,
pub changed_paths: Vec<String>,
pub diagnostics: Option<ErrorInfo>,
pub turns_used: u32,
pub tool_calls: u32,
pub elapsed_ms: u64,
pub usage: Option<ModelUsage>,
pub raw_output_bytes: u64,
pub worktree: Option<SubagentWorktreeView>,
}Expand description
Provider-visible compact child status.
Fields§
§agent_id: SubagentIdRuntime-owned child agent id.
task_id: SubagentTaskIdRuntime-owned child task id.
display_name: Option<String>Optional short display name.
role: Option<String>Optional specialist role name.
status: SubagentStatusLabelCompact lifecycle status.
summary: StringCompact result or progress summary.
result: Option<SubagentResultView>Explicit child result reported by the child loop, when it reached one.
output_paths: Vec<String>Shared-workspace output paths for exact follow-up reads.
changed_paths: Vec<String>Shared-workspace paths changed by the child.
diagnostics: Option<ErrorInfo>Optional compact failure/cancellation diagnostics.
turns_used: u32Cumulative model turns executed by this child.
tool_calls: u32Cumulative tool calls resolved by this child.
elapsed_ms: u64Wall-clock elapsed execution time in milliseconds.
usage: Option<ModelUsage>Cumulative model token usage reported by this child, when available.
raw_output_bytes: u64Monotonic count of raw assistant and tool output bytes observed so far (progress signature for polling loops).
worktree: Option<SubagentWorktreeView>Optional isolated Git worktree metadata when the child ran with workspace: "worktree".
Implementations§
Source§impl SubagentStatusView
impl SubagentStatusView
Sourcepub fn completed(
agent_id: SubagentId,
task_id: SubagentTaskId,
summary: impl Into<String>,
output_paths: Vec<String>,
changed_paths: Vec<String>,
) -> Self
pub fn completed( agent_id: SubagentId, task_id: SubagentTaskId, summary: impl Into<String>, output_paths: Vec<String>, changed_paths: Vec<String>, ) -> Self
Creates a completed child status with compact paths and no transcript.
Trait Implementations§
Source§impl Clone for SubagentStatusView
impl Clone for SubagentStatusView
Source§impl Debug for SubagentStatusView
impl Debug for SubagentStatusView
Source§impl<'de> Deserialize<'de> for SubagentStatusView
impl<'de> Deserialize<'de> for SubagentStatusView
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>,
impl Eq for SubagentStatusView
Source§impl JsonSchema for SubagentStatusView
impl JsonSchema for SubagentStatusView
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreSource§impl PartialEq for SubagentStatusView
impl PartialEq for SubagentStatusView
Source§impl Serialize for SubagentStatusView
impl Serialize for SubagentStatusView
impl StructuralPartialEq for SubagentStatusView
Auto Trait Implementations§
impl Forget for SubagentStatusView
impl Freeze for SubagentStatusView
impl Move for SubagentStatusView
impl RefUnwindSafe for SubagentStatusView
impl Send for SubagentStatusViewwhere
RawVecInner: Send,
impl Sync for SubagentStatusViewwhere
RawVecInner: Sync,
impl Unpin for SubagentStatusView
impl UnsafeUnpin for SubagentStatusViewwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for SubagentStatusViewwhere
RawVecInner: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.