pub struct McpElicitationResponse {
pub action: ElicitationAction,
pub content: Option<Value>,
pub meta: Option<Value>,
}Expand description
Result returned by an elicitation handler after interacting with the user.
Fields§
§action: ElicitationAction§content: Option<Value>§meta: Option<Value>Trait Implementations§
Source§impl Clone for McpElicitationResponse
impl Clone for McpElicitationResponse
Auto Trait Implementations§
impl Forget for McpElicitationResponse
impl Freeze for McpElicitationResponse
impl Move for McpElicitationResponse
impl RefUnwindSafe for McpElicitationResponse
impl Send for McpElicitationResponse
impl Sync for McpElicitationResponse
impl Unpin for McpElicitationResponse
impl UnsafeUnpin for McpElicitationResponse
impl UnwindSafe for McpElicitationResponse
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