pub enum ToolChoiceOptions {
None,
Auto,
Required,
}Available on crate feature
response-types only.Variants§
Trait Implementations§
Source§impl Clone for ToolChoiceOptions
impl Clone for ToolChoiceOptions
Source§fn clone(&self) -> ToolChoiceOptions
fn clone(&self) -> ToolChoiceOptions
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 ToolChoiceOptions
impl Debug for ToolChoiceOptions
Source§impl<'de> Deserialize<'de> for ToolChoiceOptions
impl<'de> Deserialize<'de> for ToolChoiceOptions
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
Source§impl From<ToolChoiceOptions> for ToolChoiceParam
impl From<ToolChoiceOptions> for ToolChoiceParam
Source§fn from(mode: ToolChoiceOptions) -> Self
fn from(mode: ToolChoiceOptions) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ToolChoiceOptions
impl PartialEq for ToolChoiceOptions
Source§impl Serialize for ToolChoiceOptions
impl Serialize for ToolChoiceOptions
impl Copy for ToolChoiceOptions
impl StructuralPartialEq for ToolChoiceOptions
Auto Trait Implementations§
impl Freeze for ToolChoiceOptions
impl RefUnwindSafe for ToolChoiceOptions
impl Send for ToolChoiceOptions
impl Sync for ToolChoiceOptions
impl Unpin for ToolChoiceOptions
impl UnwindSafe for ToolChoiceOptions
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