pub enum ToolParameterType {
String,
Number,
Integer,
Boolean,
Array,
Object,
Null,
}Expand description
JSON Schema parameter types for tools
Variants§
Trait Implementations§
Source§impl Clone for ToolParameterType
impl Clone for ToolParameterType
Source§fn clone(&self) -> ToolParameterType
fn clone(&self) -> ToolParameterType
Returns a copy 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 ToolParameterType
impl Debug for ToolParameterType
Source§impl Default for ToolParameterType
impl Default for ToolParameterType
Source§impl<'de> Deserialize<'de> for ToolParameterType
impl<'de> Deserialize<'de> for ToolParameterType
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 Display for ToolParameterType
impl Display for ToolParameterType
Auto Trait Implementations§
impl Freeze for ToolParameterType
impl RefUnwindSafe for ToolParameterType
impl Send for ToolParameterType
impl Sync for ToolParameterType
impl Unpin for ToolParameterType
impl UnwindSafe for ToolParameterType
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