pub struct InputAnswers {
pub responses: Map<String, Value>,
pub state: Option<String>,
}Expand description
What a client answers an InputRequiredResult with.
Fields§
§responses: Map<String, Value>The inputResponses, keyed as the server’s inputRequests were.
state: Option<String>The server’s requestState, to echo unchanged; None when it sent none.
Implementations§
Source§impl InputAnswers
impl InputAnswers
Sourcepub fn applied_to(&self, params: &JsonObject) -> JsonObject
pub fn applied_to(&self, params: &JsonObject) -> JsonObject
params with these answers added: the original call, retried.
Trait Implementations§
Source§impl Clone for InputAnswers
impl Clone for InputAnswers
Source§impl Debug for InputAnswers
impl Debug for InputAnswers
Source§impl Default for InputAnswers
impl Default for InputAnswers
impl Eq for InputAnswers
Source§impl PartialEq for InputAnswers
impl PartialEq for InputAnswers
impl StructuralPartialEq for InputAnswers
Auto Trait Implementations§
impl Freeze for InputAnswers
impl RefUnwindSafe for InputAnswers
impl Send for InputAnswers
impl Sync for InputAnswers
impl Unpin for InputAnswers
impl UnsafeUnpin for InputAnswers
impl UnwindSafe for InputAnswers
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