pub struct ChatInputAnswerChangedAction {
pub request_id: String,
pub question_id: String,
pub answer: Option<ChatInputAnswer>,
}Expand description
A client updated, submitted, skipped, or removed a single in-progress answer.
Dispatching with answer: undefined removes that question’s answer draft.
Fields§
§request_id: StringInput request identifier
question_id: StringQuestion identifier within the input request
answer: Option<ChatInputAnswer>Updated answer, or undefined to clear an answer draft
Trait Implementations§
Source§impl Clone for ChatInputAnswerChangedAction
impl Clone for ChatInputAnswerChangedAction
Source§fn clone(&self) -> ChatInputAnswerChangedAction
fn clone(&self) -> ChatInputAnswerChangedAction
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 ChatInputAnswerChangedAction
impl Debug for ChatInputAnswerChangedAction
Source§impl<'de> Deserialize<'de> for ChatInputAnswerChangedAction
impl<'de> Deserialize<'de> for ChatInputAnswerChangedAction
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 ChatInputAnswerChangedAction
impl PartialEq for ChatInputAnswerChangedAction
Source§fn eq(&self, other: &ChatInputAnswerChangedAction) -> bool
fn eq(&self, other: &ChatInputAnswerChangedAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ChatInputAnswerChangedAction
Auto Trait Implementations§
impl Freeze for ChatInputAnswerChangedAction
impl RefUnwindSafe for ChatInputAnswerChangedAction
impl Send for ChatInputAnswerChangedAction
impl Sync for ChatInputAnswerChangedAction
impl Unpin for ChatInputAnswerChangedAction
impl UnsafeUnpin for ChatInputAnswerChangedAction
impl UnwindSafe for ChatInputAnswerChangedAction
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