pub enum RequestTool {
Function {
function: ToolFunction,
},
Custom {
custom: ToolCustom,
},
}
Variants§
Function
The type of the tool. Currently, only function
is supported.
Fields
§
function: ToolFunction
Custom
The type of the custom tool. Always custom
.
Fields
§
custom: ToolCustom
Properties of the custom tool.
Trait Implementations§
Source§impl Debug for RequestTool
impl Debug for RequestTool
Auto Trait Implementations§
impl Freeze for RequestTool
impl RefUnwindSafe for RequestTool
impl Send for RequestTool
impl Sync for RequestTool
impl Unpin for RequestTool
impl UnwindSafe for RequestTool
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