pub struct WaitSubagentsOutput {
pub agents: Vec<SubagentStatusView>,
pub timed_out: bool,
pub terminal: bool,
pub pending_agent_ids: Vec<SubagentId>,
pub handoff_note: Option<String>,
}Expand description
Provider-visible compact status output for wait_subagents.
Fields§
§agents: Vec<SubagentStatusView>Compact status views for selected child agents.
timed_out: boolTrue when the observation deadline elapsed before the requested mode became terminal.
terminal: boolTrue when the requested wait mode is satisfied by the returned status snapshot. Only terminal=true permits a completion claim.
pending_agent_ids: Vec<SubagentId>Selected child ids that are still non-terminal in this snapshot.
handoff_note: Option<String>Explicit note when non-terminal children remain running in the background.
Implementations§
Source§impl WaitSubagentsOutput
impl WaitSubagentsOutput
Sourcepub fn new(agents: Vec<SubagentStatusView>) -> Self
pub fn new(agents: Vec<SubagentStatusView>) -> Self
Creates wait output from compact child status views.
Trait Implementations§
Source§impl Clone for WaitSubagentsOutput
impl Clone for WaitSubagentsOutput
Source§impl Debug for WaitSubagentsOutput
impl Debug for WaitSubagentsOutput
Source§impl<'de> Deserialize<'de> for WaitSubagentsOutput
impl<'de> Deserialize<'de> for WaitSubagentsOutput
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 WaitSubagentsOutput
Source§impl JsonSchema for WaitSubagentsOutput
impl JsonSchema for WaitSubagentsOutput
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for WaitSubagentsOutput
impl PartialEq for WaitSubagentsOutput
Source§impl Serialize for WaitSubagentsOutput
impl Serialize for WaitSubagentsOutput
impl StructuralPartialEq for WaitSubagentsOutput
Auto Trait Implementations§
impl Forget for WaitSubagentsOutput
impl Freeze for WaitSubagentsOutput
impl Move for WaitSubagentsOutput
impl RefUnwindSafe for WaitSubagentsOutput
impl Send for WaitSubagentsOutput
impl Sync for WaitSubagentsOutput
impl Unpin for WaitSubagentsOutput
impl UnsafeUnpin for WaitSubagentsOutput
impl UnwindSafe for WaitSubagentsOutput
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
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
Compare self to
key and return true if they are equal.