pub struct WebPagePreview {
pub media: MessageMedia,
pub chats: Vec<Chat>,
pub users: Vec<User>,
}Expand description
Generated from:
messages.webPagePreview#8c9a88ac media:MessageMedia chats:Vector<Chat> users:Vector<User> = messages.WebPagePreviewFields§
§media: MessageMedia§chats: Vec<Chat>§users: Vec<User>Trait Implementations§
Source§impl Clone for WebPagePreview
impl Clone for WebPagePreview
Source§fn clone(&self) -> WebPagePreview
fn clone(&self) -> WebPagePreview
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 WebPagePreview
impl Debug for WebPagePreview
Source§impl Deserializable for WebPagePreview
impl Deserializable for WebPagePreview
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<WebPagePreview> for WebPagePreview
impl From<WebPagePreview> for WebPagePreview
Source§fn from(x: WebPagePreview) -> Self
fn from(x: WebPagePreview) -> Self
Converts to this type from the input type.
Source§impl Identifiable for WebPagePreview
impl Identifiable for WebPagePreview
Source§const CONSTRUCTOR_ID: u32 = 0x8c9a88ac
const CONSTRUCTOR_ID: u32 = 0x8c9a88ac
The constructor ID as specified in the TL schema.
Source§impl PartialEq for WebPagePreview
impl PartialEq for WebPagePreview
Source§impl Serializable for WebPagePreview
impl Serializable for WebPagePreview
Source§impl TryFrom<WebPagePreview> for WebPagePreview
impl TryFrom<WebPagePreview> for WebPagePreview
Source§type Error = WebPagePreview
type Error = WebPagePreview
The type returned in the event of a conversion error.
impl StructuralPartialEq for WebPagePreview
Auto Trait Implementations§
impl Freeze for WebPagePreview
impl RefUnwindSafe for WebPagePreview
impl Send for WebPagePreview
impl Sync for WebPagePreview
impl Unpin for WebPagePreview
impl UnsafeUnpin for WebPagePreview
impl UnwindSafe for WebPagePreview
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