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