pub struct ChatCompletionTool {
pub type: String,
pub function: FunctionObject,
}
Fields§
§type: String
The type of the tool.
function: FunctionObject
Trait Implementations§
Source§impl Clone for ChatCompletionTool
impl Clone for ChatCompletionTool
Source§fn clone(&self) -> ChatCompletionTool
fn clone(&self) -> ChatCompletionTool
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 moreAuto 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