pub struct SendMessageTextDraftAction {
pub random_id: i64,
pub text: TextWithEntities,
}Expand description
Generated from:
sendMessageTextDraftAction#376d975c random_id:long text:TextWithEntities = SendMessageActionFields§
§random_id: i64§text: TextWithEntitiesTrait Implementations§
Source§impl Clone for SendMessageTextDraftAction
impl Clone for SendMessageTextDraftAction
Source§fn clone(&self) -> SendMessageTextDraftAction
fn clone(&self) -> SendMessageTextDraftAction
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 SendMessageTextDraftAction
impl Debug for SendMessageTextDraftAction
Source§impl Deserializable for SendMessageTextDraftAction
impl Deserializable for SendMessageTextDraftAction
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<SendMessageTextDraftAction> for SendMessageAction
impl From<SendMessageTextDraftAction> for SendMessageAction
Source§fn from(x: SendMessageTextDraftAction) -> Self
fn from(x: SendMessageTextDraftAction) -> Self
Converts to this type from the input type.
Source§impl Identifiable for SendMessageTextDraftAction
impl Identifiable for SendMessageTextDraftAction
Source§const CONSTRUCTOR_ID: u32 = 0x376d975c
const CONSTRUCTOR_ID: u32 = 0x376d975c
The constructor ID as specified in the TL schema.
Source§impl TryFrom<SendMessageAction> for SendMessageTextDraftAction
impl TryFrom<SendMessageAction> for SendMessageTextDraftAction
Source§type Error = SendMessageAction
type Error = SendMessageAction
The type returned in the event of a conversion error.
impl StructuralPartialEq for SendMessageTextDraftAction
Auto Trait Implementations§
impl Freeze for SendMessageTextDraftAction
impl RefUnwindSafe for SendMessageTextDraftAction
impl Send for SendMessageTextDraftAction
impl Sync for SendMessageTextDraftAction
impl Unpin for SendMessageTextDraftAction
impl UnsafeUnpin for SendMessageTextDraftAction
impl UnwindSafe for SendMessageTextDraftAction
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