pub struct ClientElicitation {
pub form: Option<Map<String, Value>>,
pub url: Option<Map<String, Value>>,
}Expand description
Present if the client supports elicitation from the server.
JSON schema
{
"description": "Present if the client supports elicitation from the server.",
"type": "object",
"properties": {
"form": {
"type": "object",
"additionalProperties": true
},
"url": {
"type": "object",
"additionalProperties": true
}
}
}Fields§
§form: Option<Map<String, Value>>§url: Option<Map<String, Value>>Trait Implementations§
Source§impl Clone for ClientElicitation
impl Clone for ClientElicitation
Source§fn clone(&self) -> ClientElicitation
fn clone(&self) -> ClientElicitation
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 ClientElicitation
impl Debug for ClientElicitation
Source§impl Default for ClientElicitation
impl Default for ClientElicitation
Source§fn default() -> ClientElicitation
fn default() -> ClientElicitation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClientElicitation
impl<'de> Deserialize<'de> for ClientElicitation
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 ClientElicitation
impl RefUnwindSafe for ClientElicitation
impl Send for ClientElicitation
impl Sync for ClientElicitation
impl Unpin for ClientElicitation
impl UnwindSafe for ClientElicitation
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