pub struct McpServerElicitationRequestResponse {
pub action: McpServerElicitationAction,
pub content: Option<Value>,
pub meta: Option<Value>,
}Expand description
McpServerElicitationRequestResponse
JSON schema
{
"title": "McpServerElicitationRequestResponse",
"type": "object",
"required": [
"action"
],
"properties": {
"_meta": {
"description": "Optional client metadata for form-mode action handling."
},
"action": {
"$ref": "#/definitions/McpServerElicitationAction"
},
"content": {
"description": "Structured user input for accepted elicitations, mirroring RMCP `CreateElicitationResult`.\n\nThis is nullable because decline/cancel responses have no content."
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Fields§
§action: McpServerElicitationAction§content: Option<Value>Structured user input for accepted elicitations, mirroring RMCP CreateElicitationResult.
This is nullable because decline/cancel responses have no content.
meta: Option<Value>Optional client metadata for form-mode action handling.
Trait Implementations§
Source§impl Clone for McpServerElicitationRequestResponse
impl Clone for McpServerElicitationRequestResponse
Source§fn clone(&self) -> McpServerElicitationRequestResponse
fn clone(&self) -> McpServerElicitationRequestResponse
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 McpServerElicitationRequestResponse
impl<'de> Deserialize<'de> for McpServerElicitationRequestResponse
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 McpServerElicitationRequestResponse
impl RefUnwindSafe for McpServerElicitationRequestResponse
impl Send for McpServerElicitationRequestResponse
impl Sync for McpServerElicitationRequestResponse
impl Unpin for McpServerElicitationRequestResponse
impl UnsafeUnpin for McpServerElicitationRequestResponse
impl UnwindSafe for McpServerElicitationRequestResponse
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