pub enum DynamicToolNamespaceTool {
Function {
defer_loading: Option<bool>,
description: String,
input_schema: Value,
name: String,
},
}Expand description
DynamicToolNamespaceTool
JSON schema
{
"oneOf": [
{
"title": "FunctionDynamicToolNamespaceTool",
"type": "object",
"required": [
"description",
"inputSchema",
"name",
"type"
],
"properties": {
"deferLoading": {
"type": "boolean"
},
"description": {
"type": "string"
},
"inputSchema": true,
"name": {
"type": "string"
},
"type": {
"title": "FunctionDynamicToolNamespaceToolType",
"type": "string",
"enum": [
"function"
]
}
}
}
]
}Variants§
Function
FunctionDynamicToolNamespaceTool
Trait Implementations§
Source§impl Clone for DynamicToolNamespaceTool
impl Clone for DynamicToolNamespaceTool
Source§fn clone(&self) -> DynamicToolNamespaceTool
fn clone(&self) -> DynamicToolNamespaceTool
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 DynamicToolNamespaceTool
impl Debug for DynamicToolNamespaceTool
Source§impl<'de> Deserialize<'de> for DynamicToolNamespaceTool
impl<'de> Deserialize<'de> for DynamicToolNamespaceTool
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 DynamicToolNamespaceTool
impl RefUnwindSafe for DynamicToolNamespaceTool
impl Send for DynamicToolNamespaceTool
impl Sync for DynamicToolNamespaceTool
impl Unpin for DynamicToolNamespaceTool
impl UnsafeUnpin for DynamicToolNamespaceTool
impl UnwindSafe for DynamicToolNamespaceTool
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