pub struct ChatInputCompletedAction {
pub request_id: String,
pub response: ChatInputResponseKind,
pub answers: Option<HashMap<String, ChatInputAnswer>>,
}Expand description
A client accepted, declined, or cancelled a session input request.
If accepted, the server uses answers (when provided) plus the request’s
synced answer state to resume the blocked operation.
Fields§
§request_id: StringInput request identifier
response: ChatInputResponseKindCompletion outcome
answers: Option<HashMap<String, ChatInputAnswer>>Optional final answer replacement, keyed by question ID
Trait Implementations§
Source§impl Clone for ChatInputCompletedAction
impl Clone for ChatInputCompletedAction
Source§fn clone(&self) -> ChatInputCompletedAction
fn clone(&self) -> ChatInputCompletedAction
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 ChatInputCompletedAction
impl Debug for ChatInputCompletedAction
Source§impl<'de> Deserialize<'de> for ChatInputCompletedAction
impl<'de> Deserialize<'de> for ChatInputCompletedAction
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 PartialEq for ChatInputCompletedAction
impl PartialEq for ChatInputCompletedAction
Source§fn eq(&self, other: &ChatInputCompletedAction) -> bool
fn eq(&self, other: &ChatInputCompletedAction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ChatInputCompletedAction
impl Serialize for ChatInputCompletedAction
impl StructuralPartialEq for ChatInputCompletedAction
Auto Trait Implementations§
impl Freeze for ChatInputCompletedAction
impl RefUnwindSafe for ChatInputCompletedAction
impl Send for ChatInputCompletedAction
impl Sync for ChatInputCompletedAction
impl Unpin for ChatInputCompletedAction
impl UnsafeUnpin for ChatInputCompletedAction
impl UnwindSafe for ChatInputCompletedAction
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