pub struct AssistantsNamedToolChoice {
pub type: String,
pub function: AssistantsNamedToolChoice_Function,
}Expand description
Specifies a tool the model should use.
Fields§
§type: StringThe type of the tool.
function: AssistantsNamedToolChoice_FunctionTrait Implementations§
Source§impl Clone for AssistantsNamedToolChoice
impl Clone for AssistantsNamedToolChoice
Source§fn clone(&self) -> AssistantsNamedToolChoice
fn clone(&self) -> AssistantsNamedToolChoice
Returns a copy 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 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