Enum AiToolUseSupport
pub enum AiToolUseSupport {
None,
SingleToolCall,
ParallelToolCalls,
RequiredToolChoice,
ToolChoice,
Unknown,
}Variants§
Implementations§
§impl AiToolUseSupport
impl AiToolUseSupport
pub const ALL: &'static [AiToolUseSupport]
pub const fn as_str(self) -> &'static str
Trait Implementations§
§impl Clone for AiToolUseSupport
impl Clone for AiToolUseSupport
§fn clone(&self) -> AiToolUseSupport
fn clone(&self) -> AiToolUseSupport
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 more§impl Debug for AiToolUseSupport
impl Debug for AiToolUseSupport
§impl Display for AiToolUseSupport
impl Display for AiToolUseSupport
§impl FromStr for AiToolUseSupport
impl FromStr for AiToolUseSupport
§type Err = AiCapabilityError
type Err = AiCapabilityError
The associated error which can be returned from parsing.
§fn from_str(
value: &str,
) -> Result<AiToolUseSupport, <AiToolUseSupport as FromStr>::Err>
fn from_str( value: &str, ) -> Result<AiToolUseSupport, <AiToolUseSupport as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for AiToolUseSupport
impl Hash for AiToolUseSupport
§impl Ord for AiToolUseSupport
impl Ord for AiToolUseSupport
§fn cmp(&self, other: &AiToolUseSupport) -> Ordering
fn cmp(&self, other: &AiToolUseSupport) -> Ordering
1.21.0 · 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
§impl PartialEq for AiToolUseSupport
impl PartialEq for AiToolUseSupport
§impl PartialOrd for AiToolUseSupport
impl PartialOrd for AiToolUseSupport
impl Copy for AiToolUseSupport
impl Eq for AiToolUseSupport
impl StructuralPartialEq for AiToolUseSupport
Auto Trait Implementations§
impl Freeze for AiToolUseSupport
impl RefUnwindSafe for AiToolUseSupport
impl Send for AiToolUseSupport
impl Sync for AiToolUseSupport
impl Unpin for AiToolUseSupport
impl UnsafeUnpin for AiToolUseSupport
impl UnwindSafe for AiToolUseSupport
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