pub enum ToolChoiceKind {
None,
Auto,
Required,
NamedTool,
AnyTool,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ToolChoiceKind
impl Clone for ToolChoiceKind
Source§fn clone(&self) -> ToolChoiceKind
fn clone(&self) -> ToolChoiceKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ToolChoiceKind
impl Debug for ToolChoiceKind
Source§impl Display for ToolChoiceKind
impl Display for ToolChoiceKind
Source§impl FromStr for ToolChoiceKind
impl FromStr for ToolChoiceKind
Source§impl Hash for ToolChoiceKind
impl Hash for ToolChoiceKind
Source§impl Ord for ToolChoiceKind
impl Ord for ToolChoiceKind
Source§fn cmp(&self, other: &ToolChoiceKind) -> Ordering
fn cmp(&self, other: &ToolChoiceKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ToolChoiceKind
impl PartialEq for ToolChoiceKind
Source§fn eq(&self, other: &ToolChoiceKind) -> bool
fn eq(&self, other: &ToolChoiceKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ToolChoiceKind
impl PartialOrd for ToolChoiceKind
impl Copy for ToolChoiceKind
impl Eq for ToolChoiceKind
impl StructuralPartialEq for ToolChoiceKind
Auto Trait Implementations§
impl Freeze for ToolChoiceKind
impl RefUnwindSafe for ToolChoiceKind
impl Send for ToolChoiceKind
impl Sync for ToolChoiceKind
impl Unpin for ToolChoiceKind
impl UnsafeUnpin for ToolChoiceKind
impl UnwindSafe for ToolChoiceKind
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