pub struct SubAgentState {
pub task_id: String,
pub agent_name: String,
pub done: bool,
pub tool_calls: Vec<SubAgentToolCall>,
}Expand description
Per-sub-agent state: tracks its tool calls in arrival order.
Fields§
§task_id: String§agent_name: String§done: bool§tool_calls: Vec<SubAgentToolCall>Trait Implementations§
Source§impl Clone for SubAgentState
impl Clone for SubAgentState
Source§impl Debug for SubAgentState
impl Debug for SubAgentState
impl Eq for SubAgentState
Source§impl JsonSchema for SubAgentState
impl JsonSchema for SubAgentState
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 SubAgentState
impl PartialEq for SubAgentState
Source§impl Serialize for SubAgentState
impl Serialize for SubAgentState
impl StructuralPartialEq for SubAgentState
Auto Trait Implementations§
impl Freeze for SubAgentState
impl RefUnwindSafe for SubAgentState
impl Send for SubAgentState
impl Sync for SubAgentState
impl Unpin for SubAgentState
impl UnsafeUnpin for SubAgentState
impl UnwindSafe for SubAgentState
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.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
Source§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Converts this value into a three-state builder argument.
Source§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
Source§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Converts this value into an optional builder argument.