pub struct ChatCompletionTool {
pub function: FunctionObject,
pub _type: String,
}
Fields§
§function: FunctionObject
§_type: String
The type of the tool. Currently, only function
is supported.
Trait Implementations§
Source§impl Debug for ChatCompletionTool
impl Debug for ChatCompletionTool
Source§impl<'de> Deserialize<'de> for ChatCompletionTool
impl<'de> Deserialize<'de> for ChatCompletionTool
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 ChatCompletionTool
impl RefUnwindSafe for ChatCompletionTool
impl Send for ChatCompletionTool
impl Sync for ChatCompletionTool
impl Unpin for ChatCompletionTool
impl UnwindSafe for ChatCompletionTool
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