pub struct SubAgentToolCall {
pub id: String,
pub name: String,
pub raw_input: String,
pub display_value: Option<String>,
pub status: ToolStatus,
/* private fields */
}Expand description
A tracked tool call within a sub-agent.
Fields§
§id: String§name: String§raw_input: String§display_value: Option<String>§status: ToolStatusImplementations§
Source§impl SubAgentToolCall
impl SubAgentToolCall
pub fn bash_command(&self) -> Option<String>
Trait Implementations§
Source§impl Clone for SubAgentToolCall
impl Clone for SubAgentToolCall
Source§impl Debug for SubAgentToolCall
impl Debug for SubAgentToolCall
impl Eq for SubAgentToolCall
Source§impl JsonSchema for SubAgentToolCall
impl JsonSchema for SubAgentToolCall
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 SubAgentToolCall
impl PartialEq for SubAgentToolCall
Source§impl Serialize for SubAgentToolCall
impl Serialize for SubAgentToolCall
impl StructuralPartialEq for SubAgentToolCall
Auto Trait Implementations§
impl Freeze for SubAgentToolCall
impl RefUnwindSafe for SubAgentToolCall
impl Send for SubAgentToolCall
impl Sync for SubAgentToolCall
impl Unpin for SubAgentToolCall
impl UnsafeUnpin for SubAgentToolCall
impl UnwindSafe for SubAgentToolCall
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.