pub struct UpdateQuickReplyShortcutMessages {
pub shortcut_id: i32,
pub messages: Vec<QuickReplyMessage>,
}
Expand description
The list of quick reply shortcut messages has changed
Fields§
§shortcut_id: i32
The identifier of the shortcut
messages: Vec<QuickReplyMessage>
The new list of quick reply messages for the shortcut in order from the first to the last sent
Trait Implementations§
Source§impl Clone for UpdateQuickReplyShortcutMessages
impl Clone for UpdateQuickReplyShortcutMessages
Source§fn clone(&self) -> UpdateQuickReplyShortcutMessages
fn clone(&self) -> UpdateQuickReplyShortcutMessages
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 moreSource§impl Default for UpdateQuickReplyShortcutMessages
impl Default for UpdateQuickReplyShortcutMessages
Source§fn default() -> UpdateQuickReplyShortcutMessages
fn default() -> UpdateQuickReplyShortcutMessages
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateQuickReplyShortcutMessages
impl<'de> Deserialize<'de> for UpdateQuickReplyShortcutMessages
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 UpdateQuickReplyShortcutMessages
impl PartialEq for UpdateQuickReplyShortcutMessages
Source§fn eq(&self, other: &UpdateQuickReplyShortcutMessages) -> bool
fn eq(&self, other: &UpdateQuickReplyShortcutMessages) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for UpdateQuickReplyShortcutMessages
Auto Trait Implementations§
impl Freeze for UpdateQuickReplyShortcutMessages
impl RefUnwindSafe for UpdateQuickReplyShortcutMessages
impl Send for UpdateQuickReplyShortcutMessages
impl Sync for UpdateQuickReplyShortcutMessages
impl Unpin for UpdateQuickReplyShortcutMessages
impl UnwindSafe for UpdateQuickReplyShortcutMessages
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