pub struct ElicitFormParams {
pub mode: ElicitMode,
pub message: String,
pub requested_schema: ElicitFormSchema,
pub meta: Option<RequestMeta>,
}Expand description
Parameters for form-based elicitation request
Fields§
§mode: ElicitModeThe elicitation mode
message: StringMessage to present to the user explaining what information is needed
requested_schema: ElicitFormSchemaSchema for the form fields (restricted subset of JSON Schema)
meta: Option<RequestMeta>Request metadata including progress token
Trait Implementations§
Source§impl Clone for ElicitFormParams
impl Clone for ElicitFormParams
Source§fn clone(&self) -> ElicitFormParams
fn clone(&self) -> ElicitFormParams
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 ElicitFormParams
impl Debug for ElicitFormParams
Source§impl<'de> Deserialize<'de> for ElicitFormParams
impl<'de> Deserialize<'de> for ElicitFormParams
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 ElicitFormParams
impl RefUnwindSafe for ElicitFormParams
impl Send for ElicitFormParams
impl Sync for ElicitFormParams
impl Unpin for ElicitFormParams
impl UnwindSafe for ElicitFormParams
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