pub struct PageBlockEmbedded {
pub url: String,
pub html: String,
pub poster_photo: Option<Photo>,
pub width: i32,
pub height: i32,
pub caption: PageBlockCaption,
pub is_full_width: bool,
pub allow_scrolling: bool,
}Expand description
An embedded web page
Fields§
§url: StringWeb page URL, if available
html: StringHTML-markup of the embedded page
poster_photo: Option<Photo>Poster photo, if available; may be null
width: i32Block width; 0 if unknown
height: i32Block height; 0 if unknown
caption: PageBlockCaptionBlock caption
is_full_width: boolTrue, if the block must be full width
allow_scrolling: boolTrue, if scrolling needs to be allowed
Trait Implementations§
Source§impl Clone for PageBlockEmbedded
impl Clone for PageBlockEmbedded
Source§fn clone(&self) -> PageBlockEmbedded
fn clone(&self) -> PageBlockEmbedded
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 PageBlockEmbedded
impl Debug for PageBlockEmbedded
Source§impl<'de> Deserialize<'de> for PageBlockEmbedded
impl<'de> Deserialize<'de> for PageBlockEmbedded
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PageBlockEmbedded
impl PartialEq for PageBlockEmbedded
Source§impl Serialize for PageBlockEmbedded
impl Serialize for PageBlockEmbedded
impl StructuralPartialEq for PageBlockEmbedded
Auto Trait Implementations§
impl Freeze for PageBlockEmbedded
impl RefUnwindSafe for PageBlockEmbedded
impl Send for PageBlockEmbedded
impl Sync for PageBlockEmbedded
impl Unpin for PageBlockEmbedded
impl UnwindSafe for PageBlockEmbedded
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