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