pub struct SMCPTool {
pub name: String,
pub description: String,
pub params_schema: Value,
pub return_schema: Option<Value>,
pub meta: Option<Value>,
}Expand description
SMCP工具定义
Fields§
§name: String§description: String§params_schema: Value§return_schema: Option<Value>§meta: Option<Value>Trait Implementations§
Source§impl<'de> Deserialize<'de> for SMCPTool
impl<'de> Deserialize<'de> for SMCPTool
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 SMCPTool
impl RefUnwindSafe for SMCPTool
impl Send for SMCPTool
impl Sync for SMCPTool
impl Unpin for SMCPTool
impl UnsafeUnpin for SMCPTool
impl UnwindSafe for SMCPTool
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