pub struct FunctionTool {
pub parameters: Value,
pub description: Option<Value>,
pub name: String,
pub strict: Value,
pub _type: String,
}
Fields§
§parameters: Value
§description: Option<Value>
§name: String
The name of the function to call.
strict: Value
§_type: String
The type of the function tool. Always function
.
Trait Implementations§
Source§impl Debug for FunctionTool
impl Debug for FunctionTool
Source§impl<'de> Deserialize<'de> for FunctionTool
impl<'de> Deserialize<'de> for FunctionTool
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 FunctionTool
impl RefUnwindSafe for FunctionTool
impl Send for FunctionTool
impl Sync for FunctionTool
impl Unpin for FunctionTool
impl UnwindSafe for FunctionTool
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