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