pub enum ToolsOrTool {
Tools(Vec<Tool>),
Tool(Tool),
}Expand description
Tool[] | Tool in the TypeScript SDK: a single tool forces it, a list lets
the model choose.
Variants§
Trait Implementations§
Source§impl Clone for ToolsOrTool
impl Clone for ToolsOrTool
Auto Trait Implementations§
impl !RefUnwindSafe for ToolsOrTool
impl !UnwindSafe for ToolsOrTool
impl Forget for ToolsOrTool
impl Freeze for ToolsOrTool
impl Move for ToolsOrTool
impl Send for ToolsOrTool
impl Sync for ToolsOrTool
impl Unpin for ToolsOrTool
impl UnsafeUnpin for ToolsOrTool
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