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