pub struct ElicitationParams {
pub server_name: String,
pub request: CreateElicitationRequestParams,
}Expand description
Request parameters for the _aether/elicitation ext method.
Carries the full RMCP elicitation request plus the originating server name so the client can distinguish form vs URL mode and display which server is requesting.
Fields§
§server_name: String§request: CreateElicitationRequestParamsTrait Implementations§
Source§impl Clone for ElicitationParams
impl Clone for ElicitationParams
Source§fn clone(&self) -> ElicitationParams
fn clone(&self) -> ElicitationParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ElicitationParams
impl Debug for ElicitationParams
Source§impl<'de> Deserialize<'de> for ElicitationParams
impl<'de> Deserialize<'de> for ElicitationParams
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
Source§impl JsonRpcMessage for ElicitationParams
impl JsonRpcMessage for ElicitationParams
Source§fn matches_method(method: &str) -> bool
fn matches_method(method: &str) -> bool
Check if this message type matches the given method name.
Source§fn to_untyped_message(&self) -> Result<UntypedMessage, Error>
fn to_untyped_message(&self) -> Result<UntypedMessage, Error>
Convert this message into an untyped message.
Source§impl JsonRpcRequest for ElicitationParams
impl JsonRpcRequest for ElicitationParams
Source§type Response = ElicitationResponse
type Response = ElicitationResponse
The type of data expected in response.
Source§impl PartialEq for ElicitationParams
impl PartialEq for ElicitationParams
Source§fn eq(&self, other: &ElicitationParams) -> bool
fn eq(&self, other: &ElicitationParams) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ElicitationParams
impl Serialize for ElicitationParams
impl StructuralPartialEq for ElicitationParams
Auto Trait Implementations§
impl Freeze for ElicitationParams
impl RefUnwindSafe for ElicitationParams
impl Send for ElicitationParams
impl Sync for ElicitationParams
impl Unpin for ElicitationParams
impl UnsafeUnpin for ElicitationParams
impl UnwindSafe for ElicitationParams
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