pub enum ToolCallKind {
Function,
Api,
Search,
Database,
File,
Browser,
Code,
Shell,
Calendar,
Email,
Custom,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ToolCallKind
impl Clone for ToolCallKind
Source§fn clone(&self) -> ToolCallKind
fn clone(&self) -> ToolCallKind
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 ToolCallKind
impl Debug for ToolCallKind
Source§impl Display for ToolCallKind
impl Display for ToolCallKind
Source§impl FromStr for ToolCallKind
impl FromStr for ToolCallKind
Source§impl Hash for ToolCallKind
impl Hash for ToolCallKind
Source§impl Ord for ToolCallKind
impl Ord for ToolCallKind
Source§fn cmp(&self, other: &ToolCallKind) -> Ordering
fn cmp(&self, other: &ToolCallKind) -> 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 ToolCallKind
impl PartialEq for ToolCallKind
Source§fn eq(&self, other: &ToolCallKind) -> bool
fn eq(&self, other: &ToolCallKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ToolCallKind
impl PartialOrd for ToolCallKind
impl Copy for ToolCallKind
impl Eq for ToolCallKind
impl StructuralPartialEq for ToolCallKind
Auto Trait Implementations§
impl Freeze for ToolCallKind
impl RefUnwindSafe for ToolCallKind
impl Send for ToolCallKind
impl Sync for ToolCallKind
impl Unpin for ToolCallKind
impl UnsafeUnpin for ToolCallKind
impl UnwindSafe for ToolCallKind
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