pub struct McpToolDefinition {
pub info: McpToolInfo,
pub input_schema: Value,
}Fields§
§info: McpToolInfo§input_schema: ValueA JSON Schema object with "type": "object".
Trait Implementations§
Source§impl Clone for McpToolDefinition
impl Clone for McpToolDefinition
Source§fn clone(&self) -> McpToolDefinition
fn clone(&self) -> McpToolDefinition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 McpToolDefinition
impl RefUnwindSafe for McpToolDefinition
impl Send for McpToolDefinition
impl Sync for McpToolDefinition
impl Unpin for McpToolDefinition
impl UnsafeUnpin for McpToolDefinition
impl UnwindSafe for McpToolDefinition
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