pub struct ElicitationCreateRequest {
pub message: String,
pub requested_schema: ElicitationSchema,
}
Expand description
Elicitation create request per MCP 2025-06-18 specification Method: “elicitation/create”
Fields§
§message: String
The message to present to the user
requested_schema: ElicitationSchema
A restricted subset of JSON Schema Only top-level properties are allowed, without nesting
Trait Implementations§
Source§impl Clone for ElicitationCreateRequest
impl Clone for ElicitationCreateRequest
Source§fn clone(&self) -> ElicitationCreateRequest
fn clone(&self) -> ElicitationCreateRequest
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 ElicitationCreateRequest
impl Debug for ElicitationCreateRequest
Source§impl<'de> Deserialize<'de> for ElicitationCreateRequest
impl<'de> Deserialize<'de> for ElicitationCreateRequest
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 ElicitationCreateRequest
impl RefUnwindSafe for ElicitationCreateRequest
impl Send for ElicitationCreateRequest
impl Sync for ElicitationCreateRequest
impl Unpin for ElicitationCreateRequest
impl UnwindSafe for ElicitationCreateRequest
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