pub enum ToolParameterType {
String,
Number,
Integer,
Boolean,
Array,
Object,
}Expand description
Defines the type of a tool parameter
Variants§
String
UTF-8 string value.
Number
Floating-point number.
Integer
Integer number.
Boolean
Boolean value.
Array
JSON array.
Object
JSON object.
Trait Implementations§
Source§impl Clone for ToolParameterType
impl Clone for ToolParameterType
Source§fn clone(&self) -> ToolParameterType
fn clone(&self) -> ToolParameterType
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 ToolParameterType
impl Debug 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 PartialEq for ToolParameterType
impl PartialEq for ToolParameterType
Source§impl Serialize for ToolParameterType
impl Serialize for ToolParameterType
impl StructuralPartialEq 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 UnsafeUnpin 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