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