pub struct AssistantsNamedToolChoice {
pub function: Option<AssistantsNamedToolChoiceFunction>,
pub _type: String,
}
Fields§
§function: Option<AssistantsNamedToolChoiceFunction>
§_type: String
The type of the tool. If type is function
, the function name must be set
Trait Implementations§
Source§impl Debug for AssistantsNamedToolChoice
impl Debug for AssistantsNamedToolChoice
Source§impl<'de> Deserialize<'de> for AssistantsNamedToolChoice
impl<'de> Deserialize<'de> for AssistantsNamedToolChoice
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 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