pub struct MessageEntityCode {
pub offset: i32,
pub length: i32,
}Expand description
Generated from the following TL definition:
messageEntityCode#28a20571 offset:int length:int = MessageEntityFields§
§offset: i32§length: i32Trait Implementations§
Source§impl Clone for MessageEntityCode
impl Clone for MessageEntityCode
Source§fn clone(&self) -> MessageEntityCode
fn clone(&self) -> MessageEntityCode
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 MessageEntityCode
impl Debug for MessageEntityCode
Source§impl Deserializable for MessageEntityCode
impl Deserializable for MessageEntityCode
Source§impl From<MessageEntityCode> for MessageEntity
impl From<MessageEntityCode> for MessageEntity
Source§fn from(x: MessageEntityCode) -> Self
fn from(x: MessageEntityCode) -> Self
Converts to this type from the input type.
Source§impl Identifiable for MessageEntityCode
impl Identifiable for MessageEntityCode
Source§const CONSTRUCTOR_ID: u32 = 681706865
const CONSTRUCTOR_ID: u32 = 681706865
The unique identifier for the type.
Source§impl PartialEq for MessageEntityCode
impl PartialEq for MessageEntityCode
Source§impl Serializable for MessageEntityCode
impl Serializable for MessageEntityCode
Source§impl TryFrom<MessageEntity> for MessageEntityCode
impl TryFrom<MessageEntity> for MessageEntityCode
impl StructuralPartialEq for MessageEntityCode
Auto Trait Implementations§
impl Freeze for MessageEntityCode
impl RefUnwindSafe for MessageEntityCode
impl Send for MessageEntityCode
impl Sync for MessageEntityCode
impl Unpin for MessageEntityCode
impl UnsafeUnpin for MessageEntityCode
impl UnwindSafe for MessageEntityCode
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