Struct clacks_mtproto::mtproto::page_block::Embed
[−]
[src]
pub struct Embed { pub full_width: bool, pub allow_scrolling: bool, pub url: Option<string>, pub html: Option<string>, pub poster_photo_id: Option<long>, pub w: int, pub h: int, pub caption: Box<RichText>, }
TL-derived from pageBlockEmbed
pageBlockEmbed#cde200d1 flags:# full_width:flags.0?true allow_scrolling:flags.3?true url:flags.1?string html:flags.2?string poster_photo_id:flags.4?long w:int h:int caption:RichText = PageBlock;
Fields
full_width: bool
allow_scrolling: bool
url: Option<string>
html: Option<string>
poster_photo_id: Option<long>
w: int
h: int
Trait Implementations
impl Debug for Embed
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for Embed
[src]
fn clone(&self) -> Embed
[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