pub struct ElicitationCreateResult {
pub action: ElicitationAction,
pub content: Option<HashMap<String, ElicitationValue>>,
pub meta: Option<HashMap<String, Value>>,
}
Expand description
Elicitation response per MCP 2025-06-18 specification
Fields§
§action: ElicitationAction
The user action in response to the elicitation
content: Option<HashMap<String, ElicitationValue>>
The submitted form data, only present when action is “accept” Contains values matching the requested schema
meta: Option<HashMap<String, Value>>
Optional metadata
Trait Implementations§
Source§impl Clone for ElicitationCreateResult
impl Clone for ElicitationCreateResult
Source§fn clone(&self) -> ElicitationCreateResult
fn clone(&self) -> ElicitationCreateResult
Returns a duplicate of the value. Read more
1.0.0 · 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 ElicitationCreateResult
impl Debug for ElicitationCreateResult
Source§impl<'de> Deserialize<'de> for ElicitationCreateResult
impl<'de> Deserialize<'de> for ElicitationCreateResult
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 ElicitationCreateResult
impl RefUnwindSafe for ElicitationCreateResult
impl Send for ElicitationCreateResult
impl Sync for ElicitationCreateResult
impl Unpin for ElicitationCreateResult
impl UnwindSafe for ElicitationCreateResult
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