pub struct ToolFunctionResponse {
pub name: String,
pub arguments: Value,
}Expand description
Function details in a tool call response
Fields§
§name: StringName of the function that the LLM wants to call
arguments: ValueThe arguments that the LLM wants to pass to the function
Trait Implementations§
Source§impl Clone for ToolFunctionResponse
impl Clone for ToolFunctionResponse
Source§fn clone(&self) -> ToolFunctionResponse
fn clone(&self) -> ToolFunctionResponse
Returns a copy of the value. Read more
1.0.0 · 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 ToolFunctionResponse
impl Debug for ToolFunctionResponse
Source§impl<'de> Deserialize<'de> for ToolFunctionResponse
impl<'de> Deserialize<'de> for ToolFunctionResponse
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 ToolFunctionResponse
impl RefUnwindSafe for ToolFunctionResponse
impl Send for ToolFunctionResponse
impl Sync for ToolFunctionResponse
impl Unpin for ToolFunctionResponse
impl UnwindSafe for ToolFunctionResponse
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