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