pub struct McpServerElicitationRequestResponse {
pub meta: Option<Value>,
pub action: McpServerElicitationAction,
pub content: Option<Value>,
}Fields§
§meta: Option<Value>Optional client metadata for form-mode action handling.
action: McpServerElicitationAction§content: Option<Value>Structured user input for accepted elicitations, mirroring RMCP CreateElicitationResult.
This is nullable because decline/cancel responses have no content.
Trait Implementations§
Source§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
impl StructuralPartialEq for McpServerElicitationRequestResponse
Auto Trait Implementations§
impl Forget for McpServerElicitationRequestResponse
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