pub struct ToolCallCustom {
pub input: String,
pub name: String,
}Fields§
§input: StringThe input for the custom tool call generated by the model.
name: StringThe name of the custom tool to call.
Trait Implementations§
Source§impl Clone for ToolCallCustom
impl Clone for ToolCallCustom
Source§impl Debug for ToolCallCustom
impl Debug for ToolCallCustom
Source§impl<'de> Deserialize<'de> for ToolCallCustom
impl<'de> Deserialize<'de> for ToolCallCustom
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 ToolCallCustom
impl RefUnwindSafe for ToolCallCustom
impl Send for ToolCallCustom
impl Sync for ToolCallCustom
impl Unpin for ToolCallCustom
impl UnsafeUnpin for ToolCallCustom
impl UnwindSafe for ToolCallCustom
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