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