pub struct McpInputSchema {
pub schema_type: String,
pub properties: HashMap<String, McpProperty>,
pub required: Vec<String>,
}Expand description
MCP input schema
Fields§
§schema_type: StringSchema type (usually “object”)
properties: HashMap<String, McpProperty>Properties
required: Vec<String>Required fields
Trait Implementations§
Source§impl Clone for McpInputSchema
impl Clone for McpInputSchema
Source§fn clone(&self) -> McpInputSchema
fn clone(&self) -> McpInputSchema
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 moreSource§impl Debug for McpInputSchema
impl Debug for McpInputSchema
Source§impl Default for McpInputSchema
impl Default for McpInputSchema
Source§fn default() -> McpInputSchema
fn default() -> McpInputSchema
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for McpInputSchema
impl<'de> Deserialize<'de> for McpInputSchema
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 McpInputSchema
impl RefUnwindSafe for McpInputSchema
impl Send for McpInputSchema
impl Sync for McpInputSchema
impl Unpin for McpInputSchema
impl UnsafeUnpin for McpInputSchema
impl UnwindSafe for McpInputSchema
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