pub struct AssistantsNamedToolChoice {
pub type: String,
pub function: Option<AssistantsNamedToolChoice_Function>,
}
Expand description
Specifies a tool the model should use.
Fields§
§type: String
The type of the tool.
function: Option<AssistantsNamedToolChoice_Function>
Trait Implementations§
Source§impl Clone for AssistantsNamedToolChoice
impl Clone for AssistantsNamedToolChoice
Source§fn clone(&self) -> AssistantsNamedToolChoice
fn clone(&self) -> AssistantsNamedToolChoice
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 AssistantsNamedToolChoice
impl Debug for AssistantsNamedToolChoice
Source§impl Default for AssistantsNamedToolChoice
impl Default for AssistantsNamedToolChoice
Source§fn default() -> AssistantsNamedToolChoice
fn default() -> AssistantsNamedToolChoice
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AssistantsNamedToolChoice
impl RefUnwindSafe for AssistantsNamedToolChoice
impl Send for AssistantsNamedToolChoice
impl Sync for AssistantsNamedToolChoice
impl Unpin for AssistantsNamedToolChoice
impl UnwindSafe for AssistantsNamedToolChoice
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