pub struct ToolsSection {
pub enabled: Vec<String>,
pub tool_strategy: Option<String>,
pub batch_size: Option<usize>,
pub instances: Vec<ToolInstance>,
}Expand description
Tool configuration.
Fields§
§enabled: Vec<String>List of enabled tool names (resolved by the caller’s tool registry).
tool_strategy: Option<String>Tool execution strategy: “sequential”, “parallel”, “batched”.
batch_size: Option<usize>Batch size for “batched” strategy.
instances: Vec<ToolInstance>Named tool instances with overrides.
Trait Implementations§
Source§impl Clone for ToolsSection
impl Clone for ToolsSection
Source§fn clone(&self) -> ToolsSection
fn clone(&self) -> ToolsSection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ToolsSection
impl Debug for ToolsSection
Source§impl Default for ToolsSection
impl Default for ToolsSection
Source§fn default() -> ToolsSection
fn default() -> ToolsSection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ToolsSectionwhere
ToolsSection: Default,
impl<'de> Deserialize<'de> for ToolsSectionwhere
ToolsSection: Default,
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
Auto Trait Implementations§
impl Freeze for ToolsSection
impl RefUnwindSafe for ToolsSection
impl Send for ToolsSection
impl Sync for ToolsSection
impl Unpin for ToolsSection
impl UnsafeUnpin for ToolsSection
impl UnwindSafe for ToolsSection
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