pub struct ToolInputJSONSchema {
pub properties: Value,
pub schema_type: String,
}Expand description
Tool input JSON schema (for MCP tools)
Fields§
§properties: Value§schema_type: StringTrait Implementations§
Source§impl Clone for ToolInputJSONSchema
impl Clone for ToolInputJSONSchema
Source§fn clone(&self) -> ToolInputJSONSchema
fn clone(&self) -> ToolInputJSONSchema
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 ToolInputJSONSchema
impl Debug for ToolInputJSONSchema
Source§impl<'de> Deserialize<'de> for ToolInputJSONSchema
impl<'de> Deserialize<'de> for ToolInputJSONSchema
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
Auto Trait Implementations§
impl Freeze for ToolInputJSONSchema
impl RefUnwindSafe for ToolInputJSONSchema
impl Send for ToolInputJSONSchema
impl Sync for ToolInputJSONSchema
impl Unpin for ToolInputJSONSchema
impl UnsafeUnpin for ToolInputJSONSchema
impl UnwindSafe for ToolInputJSONSchema
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