pub struct SendMessageEmojiInteraction {
pub emoticon: String,
pub msg_id: i32,
pub interaction: DataJson,
}Expand description
Generated from:
sendMessageEmojiInteraction#25972bcb emoticon:string msg_id:int interaction:DataJSON = SendMessageActionFields§
§emoticon: String§msg_id: i32§interaction: DataJsonTrait Implementations§
Source§impl Clone for SendMessageEmojiInteraction
impl Clone for SendMessageEmojiInteraction
Source§fn clone(&self) -> SendMessageEmojiInteraction
fn clone(&self) -> SendMessageEmojiInteraction
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 SendMessageEmojiInteraction
impl Debug for SendMessageEmojiInteraction
Source§impl Deserializable for SendMessageEmojiInteraction
impl Deserializable for SendMessageEmojiInteraction
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<SendMessageEmojiInteraction> for SendMessageAction
impl From<SendMessageEmojiInteraction> for SendMessageAction
Source§fn from(x: SendMessageEmojiInteraction) -> Self
fn from(x: SendMessageEmojiInteraction) -> Self
Converts to this type from the input type.
Source§impl Identifiable for SendMessageEmojiInteraction
impl Identifiable for SendMessageEmojiInteraction
Source§const CONSTRUCTOR_ID: u32 = 0x25972bcb
const CONSTRUCTOR_ID: u32 = 0x25972bcb
The constructor ID as specified in the TL schema.
Source§impl TryFrom<SendMessageAction> for SendMessageEmojiInteraction
impl TryFrom<SendMessageAction> for SendMessageEmojiInteraction
Source§type Error = SendMessageAction
type Error = SendMessageAction
The type returned in the event of a conversion error.
impl StructuralPartialEq for SendMessageEmojiInteraction
Auto Trait Implementations§
impl Freeze for SendMessageEmojiInteraction
impl RefUnwindSafe for SendMessageEmojiInteraction
impl Send for SendMessageEmojiInteraction
impl Sync for SendMessageEmojiInteraction
impl Unpin for SendMessageEmojiInteraction
impl UnsafeUnpin for SendMessageEmojiInteraction
impl UnwindSafe for SendMessageEmojiInteraction
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