pub struct SendMessageRichMessageDraftAction {
pub random_id: i64,
pub rich_message: RichMessage,
}Expand description
sendMessageRichMessageDraftAction
Generated from:
sendMessageRichMessageDraftAction#a2cb24f9 random_id:long rich_message:RichMessage = SendMessageActionFields§
§random_id: i64§rich_message: RichMessageTrait Implementations§
Source§impl Clone for SendMessageRichMessageDraftAction
impl Clone for SendMessageRichMessageDraftAction
Source§fn clone(&self) -> SendMessageRichMessageDraftAction
fn clone(&self) -> SendMessageRichMessageDraftAction
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 Deserializable for SendMessageRichMessageDraftAction
impl Deserializable for SendMessageRichMessageDraftAction
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<SendMessageRichMessageDraftAction> for SendMessageAction
impl From<SendMessageRichMessageDraftAction> for SendMessageAction
Source§fn from(x: SendMessageRichMessageDraftAction) -> Self
fn from(x: SendMessageRichMessageDraftAction) -> Self
Converts to this type from the input type.
Source§impl Identifiable for SendMessageRichMessageDraftAction
impl Identifiable for SendMessageRichMessageDraftAction
Source§const CONSTRUCTOR_ID: u32 = 0xa2cb24f9
const CONSTRUCTOR_ID: u32 = 0xa2cb24f9
The constructor ID as specified in the TL schema.
Source§impl PartialEq for SendMessageRichMessageDraftAction
impl PartialEq for SendMessageRichMessageDraftAction
Source§fn eq(&self, other: &SendMessageRichMessageDraftAction) -> bool
fn eq(&self, other: &SendMessageRichMessageDraftAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SendMessageRichMessageDraftAction
Source§impl TryFrom<SendMessageAction> for SendMessageRichMessageDraftAction
impl TryFrom<SendMessageAction> for SendMessageRichMessageDraftAction
Source§type Error = SendMessageAction
type Error = SendMessageAction
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for SendMessageRichMessageDraftAction
impl RefUnwindSafe for SendMessageRichMessageDraftAction
impl Send for SendMessageRichMessageDraftAction
impl Sync for SendMessageRichMessageDraftAction
impl Unpin for SendMessageRichMessageDraftAction
impl UnsafeUnpin for SendMessageRichMessageDraftAction
impl UnwindSafe for SendMessageRichMessageDraftAction
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