pub struct McpElicitationSchema {
pub schema: Option<String>,
pub properties: BTreeMap<String, McpElicitationPrimitiveSchema>,
pub required: Option<Vec<String>>,
pub type_: McpElicitationObjectType,
}Fields§
§schema: Option<String>§properties: BTreeMap<String, McpElicitationPrimitiveSchema>§required: Option<Vec<String>>§type_: McpElicitationObjectTypeTrait Implementations§
Source§impl Clone for McpElicitationSchema
impl Clone for McpElicitationSchema
Source§fn clone(&self) -> McpElicitationSchema
fn clone(&self) -> McpElicitationSchema
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 McpElicitationSchema
impl Debug for McpElicitationSchema
Source§impl<'de> Deserialize<'de> for McpElicitationSchema
impl<'de> Deserialize<'de> for McpElicitationSchema
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
Source§impl PartialEq for McpElicitationSchema
impl PartialEq for McpElicitationSchema
Source§fn eq(&self, other: &McpElicitationSchema) -> bool
fn eq(&self, other: &McpElicitationSchema) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for McpElicitationSchema
impl Serialize for McpElicitationSchema
impl StructuralPartialEq for McpElicitationSchema
Auto Trait Implementations§
impl Freeze for McpElicitationSchema
impl RefUnwindSafe for McpElicitationSchema
impl Send for McpElicitationSchema
impl Sync for McpElicitationSchema
impl Unpin for McpElicitationSchema
impl UnsafeUnpin for McpElicitationSchema
impl UnwindSafe for McpElicitationSchema
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