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