pub struct McpElicitationTitledSingleSelectEnumSchema {
pub default: Option<String>,
pub description: Option<String>,
pub one_of: Vec<McpElicitationConstOption>,
pub title: Option<String>,
pub type_: McpElicitationStringType,
}Expand description
McpElicitationTitledSingleSelectEnumSchema
JSON schema
{
"type": "object",
"required": [
"oneOf",
"type"
],
"properties": {
"default": {
"type": [
"string",
"null"
]
},
"description": {
"type": [
"string",
"null"
]
},
"oneOf": {
"type": "array",
"items": {
"$ref": "#/definitions/McpElicitationConstOption"
}
},
"title": {
"type": [
"string",
"null"
]
},
"type": {
"$ref": "#/definitions/McpElicitationStringType"
}
},
"additionalProperties": false
}Fields§
§default: Option<String>§description: Option<String>§one_of: Vec<McpElicitationConstOption>§title: Option<String>§type_: McpElicitationStringTypeTrait Implementations§
Source§impl Clone for McpElicitationTitledSingleSelectEnumSchema
impl Clone for McpElicitationTitledSingleSelectEnumSchema
Source§fn clone(&self) -> McpElicitationTitledSingleSelectEnumSchema
fn clone(&self) -> McpElicitationTitledSingleSelectEnumSchema
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<'de> Deserialize<'de> for McpElicitationTitledSingleSelectEnumSchema
impl<'de> Deserialize<'de> for McpElicitationTitledSingleSelectEnumSchema
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 From<McpElicitationTitledSingleSelectEnumSchema> for McpElicitationSingleSelectEnumSchema
impl From<McpElicitationTitledSingleSelectEnumSchema> for McpElicitationSingleSelectEnumSchema
Source§fn from(value: McpElicitationTitledSingleSelectEnumSchema) -> Self
fn from(value: McpElicitationTitledSingleSelectEnumSchema) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for McpElicitationTitledSingleSelectEnumSchema
impl RefUnwindSafe for McpElicitationTitledSingleSelectEnumSchema
impl Send for McpElicitationTitledSingleSelectEnumSchema
impl Sync for McpElicitationTitledSingleSelectEnumSchema
impl Unpin for McpElicitationTitledSingleSelectEnumSchema
impl UnsafeUnpin for McpElicitationTitledSingleSelectEnumSchema
impl UnwindSafe for McpElicitationTitledSingleSelectEnumSchema
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