pub struct ElicitationResponse {
pub accepted: bool,
pub content: Option<HashMap<String, Value>>,
pub decline_reason: Option<String>,
}
Expand description
Response to an elicitation request
Fields§
§accepted: bool
Whether the elicitation was accepted
content: Option<HashMap<String, Value>>
The response content if accepted
decline_reason: Option<String>
Optional reason for declining
Trait Implementations§
Source§impl Clone for ElicitationResponse
impl Clone for ElicitationResponse
Source§fn clone(&self) -> ElicitationResponse
fn clone(&self) -> ElicitationResponse
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 moreAuto Trait Implementations§
impl Freeze for ElicitationResponse
impl RefUnwindSafe for ElicitationResponse
impl Send for ElicitationResponse
impl Sync for ElicitationResponse
impl Unpin for ElicitationResponse
impl UnwindSafe for ElicitationResponse
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