pub struct ChatInputRequestedAction {
pub request: ChatInputRequest,
}Expand description
A session requested input from the user.
Full-request upsert semantics: the request replaces any existing request
with the same id, or is appended if it is new. Answer drafts are preserved
unless request.answers is provided.
Fields§
§request: ChatInputRequestInput request to create or replace
Trait Implementations§
Source§impl Clone for ChatInputRequestedAction
impl Clone for ChatInputRequestedAction
Source§fn clone(&self) -> ChatInputRequestedAction
fn clone(&self) -> ChatInputRequestedAction
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 ChatInputRequestedAction
impl Debug for ChatInputRequestedAction
Source§impl<'de> Deserialize<'de> for ChatInputRequestedAction
impl<'de> Deserialize<'de> for ChatInputRequestedAction
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 ChatInputRequestedAction
impl PartialEq for ChatInputRequestedAction
Source§fn eq(&self, other: &ChatInputRequestedAction) -> bool
fn eq(&self, other: &ChatInputRequestedAction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ChatInputRequestedAction
impl Serialize for ChatInputRequestedAction
impl StructuralPartialEq for ChatInputRequestedAction
Auto Trait Implementations§
impl Freeze for ChatInputRequestedAction
impl RefUnwindSafe for ChatInputRequestedAction
impl Send for ChatInputRequestedAction
impl Sync for ChatInputRequestedAction
impl Unpin for ChatInputRequestedAction
impl UnsafeUnpin for ChatInputRequestedAction
impl UnwindSafe for ChatInputRequestedAction
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