pub struct ToolCallFunction {
pub id: String,
pub function: ToolCallFunctionObj,
}
Fields§
§id: String
The ID of the tool call.
function: ToolCallFunctionObj
The function that the model called.
Trait Implementations§
Source§impl Clone for ToolCallFunction
impl Clone for ToolCallFunction
Source§fn clone(&self) -> ToolCallFunction
fn clone(&self) -> ToolCallFunction
Returns a duplicate 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 ToolCallFunction
impl Debug for ToolCallFunction
Source§impl Default for ToolCallFunction
impl Default for ToolCallFunction
Source§fn default() -> ToolCallFunction
fn default() -> ToolCallFunction
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ToolCallFunction
impl<'de> Deserialize<'de> for ToolCallFunction
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
Source§impl PartialEq for ToolCallFunction
impl PartialEq for ToolCallFunction
Source§impl Serialize for ToolCallFunction
impl Serialize for ToolCallFunction
impl StructuralPartialEq for ToolCallFunction
Auto Trait Implementations§
impl Freeze for ToolCallFunction
impl RefUnwindSafe for ToolCallFunction
impl Send for ToolCallFunction
impl Sync for ToolCallFunction
impl Unpin for ToolCallFunction
impl UnwindSafe for ToolCallFunction
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