pub struct McpToolSpec {
pub name: String,
pub description: Option<String>,
pub input_schema: Value,
}Fields§
§name: String§description: Option<String>§input_schema: ValueTrait Implementations§
Source§impl Clone for McpToolSpec
impl Clone for McpToolSpec
Source§fn clone(&self) -> McpToolSpec
fn clone(&self) -> McpToolSpec
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 McpToolSpec
impl RefUnwindSafe for McpToolSpec
impl Send for McpToolSpec
impl Sync for McpToolSpec
impl Unpin for McpToolSpec
impl UnsafeUnpin for McpToolSpec
impl UnwindSafe for McpToolSpec
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