pub struct ChatCompletionNamedToolChoice {
pub type: String,
pub function: ChatCompletionNamedToolChoice_Function,
}
Expand description
Specifies a tool the model should use.
Fields§
§type: String
The type of the tool.
function: ChatCompletionNamedToolChoice_Function
Trait Implementations§
Source§impl Clone for ChatCompletionNamedToolChoice
impl Clone for ChatCompletionNamedToolChoice
Source§fn clone(&self) -> ChatCompletionNamedToolChoice
fn clone(&self) -> ChatCompletionNamedToolChoice
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 ChatCompletionNamedToolChoice
impl RefUnwindSafe for ChatCompletionNamedToolChoice
impl Send for ChatCompletionNamedToolChoice
impl Sync for ChatCompletionNamedToolChoice
impl Unpin for ChatCompletionNamedToolChoice
impl UnwindSafe for ChatCompletionNamedToolChoice
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