Struct clacks_mtproto::mtproto::web_page::WebPage
[−]
[src]
pub struct WebPage { pub id: long, pub url: string, pub display_url: string, pub hash: int, pub type_: Option<string>, pub site_name: Option<string>, pub title: Option<string>, pub description: Option<string>, pub photo: Option<Photo>, pub embed_url: Option<string>, pub embed_type: Option<string>, pub embed_width: Option<int>, pub embed_height: Option<int>, pub duration: Option<int>, pub author: Option<string>, pub document: Option<Document>, pub cached_page: Option<Page>, }
TL-derived from webPage
webPage#5f07b4bc flags:# id:long url:string display_url:string hash:int type:flags.0?string site_name:flags.1?string title:flags.2?string description:flags.3?string photo:flags.4?Photo embed_url:flags.5?string embed_type:flags.5?string embed_width:flags.6?int embed_height:flags.6?int duration:flags.7?int author:flags.8?string document:flags.9?Document cached_page:flags.10?Page = WebPage;
Fields
id: long
url: string
display_url: string
hash: int
type_: Option<string>
site_name: Option<string>
title: Option<string>
description: Option<string>
photo: Option<Photo>
embed_url: Option<string>
embed_type: Option<string>
embed_width: Option<int>
embed_height: Option<int>
duration: Option<int>
document: Option<Document>
cached_page: Option<Page>
Trait Implementations
impl Debug for WebPage
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for WebPage
[src]
fn clone(&self) -> WebPage
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more