pub struct ElicitRequestFormParams {
pub mode: Option<String>,
pub message: String,
pub requested_schema: Value,
pub task: Option<TaskMetadata>,
pub meta: Option<Value>,
}Expand description
Parameters for elicitation/create request with form mode.
Fields§
§mode: Option<String>The elicitation mode.
message: StringThe message to present to the user describing what information is being requested.
requested_schema: ValueA restricted subset of JSON Schema for the form fields.
task: Option<TaskMetadata>Task metadata if requesting task-augmented execution.
meta: Option<Value>Request metadata.
Trait Implementations§
Source§impl Clone for ElicitRequestFormParams
impl Clone for ElicitRequestFormParams
Source§fn clone(&self) -> ElicitRequestFormParams
fn clone(&self) -> ElicitRequestFormParams
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 ElicitRequestFormParams
impl Debug for ElicitRequestFormParams
Source§impl<'de> Deserialize<'de> for ElicitRequestFormParams
impl<'de> Deserialize<'de> for ElicitRequestFormParams
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 ElicitRequestFormParams
impl RefUnwindSafe for ElicitRequestFormParams
impl Send for ElicitRequestFormParams
impl Sync for ElicitRequestFormParams
impl Unpin for ElicitRequestFormParams
impl UnwindSafe for ElicitRequestFormParams
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