pub struct MessageEntityCustomEmoji {
pub offset: i32,
pub length: i32,
pub document_id: i64,
}Expand description
Generated from:
messageEntityCustomEmoji#c8cf05f8 offset:int length:int document_id:long = MessageEntityFields§
§offset: i32§length: i32§document_id: i64Trait Implementations§
Source§impl Clone for MessageEntityCustomEmoji
impl Clone for MessageEntityCustomEmoji
Source§fn clone(&self) -> MessageEntityCustomEmoji
fn clone(&self) -> MessageEntityCustomEmoji
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 MessageEntityCustomEmoji
impl Debug for MessageEntityCustomEmoji
Source§impl Deserializable for MessageEntityCustomEmoji
impl Deserializable for MessageEntityCustomEmoji
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<MessageEntityCustomEmoji> for MessageEntity
impl From<MessageEntityCustomEmoji> for MessageEntity
Source§fn from(x: MessageEntityCustomEmoji) -> Self
fn from(x: MessageEntityCustomEmoji) -> Self
Converts to this type from the input type.
Source§impl Identifiable for MessageEntityCustomEmoji
impl Identifiable for MessageEntityCustomEmoji
Source§const CONSTRUCTOR_ID: u32 = 0xc8cf05f8
const CONSTRUCTOR_ID: u32 = 0xc8cf05f8
The constructor ID as specified in the TL schema.
Source§impl PartialEq for MessageEntityCustomEmoji
impl PartialEq for MessageEntityCustomEmoji
Source§impl TryFrom<MessageEntity> for MessageEntityCustomEmoji
impl TryFrom<MessageEntity> for MessageEntityCustomEmoji
Source§type Error = MessageEntity
type Error = MessageEntity
The type returned in the event of a conversion error.
impl StructuralPartialEq for MessageEntityCustomEmoji
Auto Trait Implementations§
impl Freeze for MessageEntityCustomEmoji
impl RefUnwindSafe for MessageEntityCustomEmoji
impl Send for MessageEntityCustomEmoji
impl Sync for MessageEntityCustomEmoji
impl Unpin for MessageEntityCustomEmoji
impl UnsafeUnpin for MessageEntityCustomEmoji
impl UnwindSafe for MessageEntityCustomEmoji
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