pub struct McpToolInfo {
pub name: String,
pub description: String,
pub input_schema: JsonValue,
}Expand description
Information about a tool discovered from an MCP server
Fields§
§name: String§description: String§input_schema: JsonValueTrait Implementations§
Source§impl Clone for McpToolInfo
impl Clone for McpToolInfo
Source§fn clone(&self) -> McpToolInfo
fn clone(&self) -> McpToolInfo
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 moreAuto Trait Implementations§
impl Freeze for McpToolInfo
impl RefUnwindSafe for McpToolInfo
impl Send for McpToolInfo
impl Sync for McpToolInfo
impl Unpin for McpToolInfo
impl UnwindSafe for McpToolInfo
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