pub enum ToolCallType {
Function,
}Expand description
Type of tool call
Variants§
Function
Function call
Trait Implementations§
Source§impl Clone for ToolCallType
impl Clone for ToolCallType
Source§fn clone(&self) -> ToolCallType
fn clone(&self) -> ToolCallType
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 ToolCallType
impl Debug for ToolCallType
Source§impl<'de> Deserialize<'de> for ToolCallType
impl<'de> Deserialize<'de> for ToolCallType
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 PartialEq for ToolCallType
impl PartialEq for ToolCallType
Source§impl Serialize for ToolCallType
impl Serialize for ToolCallType
impl Copy for ToolCallType
impl Eq for ToolCallType
impl StructuralPartialEq for ToolCallType
Auto Trait Implementations§
impl Freeze for ToolCallType
impl RefUnwindSafe for ToolCallType
impl Send for ToolCallType
impl Sync for ToolCallType
impl Unpin for ToolCallType
impl UnwindSafe for ToolCallType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.