pub struct CancelSubagentsInput {
pub agent_ids: Vec<SubagentId>,
}Expand description
Provider-visible input for cancel_subagents.
Tolerates both agent_ids: [...], agent_ids: "agent-1", and the singular
alias agent_id: "agent-1".
Fields§
§agent_ids: Vec<SubagentId>Implementations§
Source§impl CancelSubagentsInput
impl CancelSubagentsInput
Sourcepub fn tool_spec_with(
name: impl AsRef<str>,
description: impl AsRef<str>,
) -> Result<ToolSpec, ToolBuildError>
pub fn tool_spec_with( name: impl AsRef<str>, description: impl AsRef<str>, ) -> Result<ToolSpec, ToolBuildError>
Builds a provider-neutral tool specification with an explicit identity.
Sourcepub fn tool_spec() -> Result<ToolSpec, ToolBuildError>
pub fn tool_spec() -> Result<ToolSpec, ToolBuildError>
Builds the provider-neutral tool specification for this input.
Trait Implementations§
Source§impl Clone for CancelSubagentsInput
impl Clone for CancelSubagentsInput
Source§impl Debug for CancelSubagentsInput
impl Debug for CancelSubagentsInput
Source§impl<'de> Deserialize<'de> for CancelSubagentsInput
impl<'de> Deserialize<'de> for CancelSubagentsInput
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 CancelSubagentsInput
Source§impl JsonSchema for CancelSubagentsInput
impl JsonSchema for CancelSubagentsInput
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 CancelSubagentsInput
impl PartialEq for CancelSubagentsInput
Source§impl Serialize for CancelSubagentsInput
impl Serialize for CancelSubagentsInput
impl StructuralPartialEq for CancelSubagentsInput
Auto Trait Implementations§
impl Forget for CancelSubagentsInput
impl Freeze for CancelSubagentsInput
impl Move for CancelSubagentsInput
impl RefUnwindSafe for CancelSubagentsInput
impl Send for CancelSubagentsInputwhere
RawVecInner: Send,
impl Sync for CancelSubagentsInputwhere
RawVecInner: Sync,
impl Unpin for CancelSubagentsInput
impl UnsafeUnpin for CancelSubagentsInput
impl UnwindSafe for CancelSubagentsInputwhere
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
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.