pub struct QuickReplyShortcut {
pub id: i32,
pub name: String,
pub first_message: QuickReplyMessage,
pub message_count: i32,
}
Expand description
Describes a shortcut that can be used for a quick reply
Fields§
§id: i32
Unique shortcut identifier
name: String
The name of the shortcut that can be used to use the shortcut
first_message: QuickReplyMessage
The first shortcut message
message_count: i32
The total number of messages in the shortcut
Trait Implementations§
Source§impl Clone for QuickReplyShortcut
impl Clone for QuickReplyShortcut
Source§fn clone(&self) -> QuickReplyShortcut
fn clone(&self) -> QuickReplyShortcut
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 Debug for QuickReplyShortcut
impl Debug for QuickReplyShortcut
Source§impl<'de> Deserialize<'de> for QuickReplyShortcut
impl<'de> Deserialize<'de> for QuickReplyShortcut
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 QuickReplyShortcut
impl PartialEq for QuickReplyShortcut
Source§impl Serialize for QuickReplyShortcut
impl Serialize for QuickReplyShortcut
impl StructuralPartialEq for QuickReplyShortcut
Auto Trait Implementations§
impl Freeze for QuickReplyShortcut
impl RefUnwindSafe for QuickReplyShortcut
impl Send for QuickReplyShortcut
impl Sync for QuickReplyShortcut
impl Unpin for QuickReplyShortcut
impl UnwindSafe for QuickReplyShortcut
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