pub struct PageBlockEmbed {
pub full_width: bool,
pub allow_scrolling: bool,
pub url: Option<String>,
pub html: Option<String>,
pub poster_photo_id: Option<i64>,
pub w: Option<i32>,
pub h: Option<i32>,
pub caption: PageCaption,
}Expand description
Generated from:
pageBlockEmbed#a8718dc5 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:flags.5?int h:flags.5?int caption:PageCaption = PageBlockFields§
§full_width: bool§allow_scrolling: bool§url: Option<String>§html: Option<String>§poster_photo_id: Option<i64>§w: Option<i32>§h: Option<i32>§caption: PageCaptionTrait Implementations§
Source§impl Clone for PageBlockEmbed
impl Clone for PageBlockEmbed
Source§fn clone(&self) -> PageBlockEmbed
fn clone(&self) -> PageBlockEmbed
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 PageBlockEmbed
impl Debug for PageBlockEmbed
Source§impl Deserializable for PageBlockEmbed
impl Deserializable for PageBlockEmbed
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<PageBlockEmbed> for PageBlock
impl From<PageBlockEmbed> for PageBlock
Source§fn from(x: PageBlockEmbed) -> Self
fn from(x: PageBlockEmbed) -> Self
Converts to this type from the input type.
Source§impl Identifiable for PageBlockEmbed
impl Identifiable for PageBlockEmbed
Source§const CONSTRUCTOR_ID: u32 = 0xa8718dc5
const CONSTRUCTOR_ID: u32 = 0xa8718dc5
The constructor ID as specified in the TL schema.
Source§impl PartialEq for PageBlockEmbed
impl PartialEq for PageBlockEmbed
Source§impl Serializable for PageBlockEmbed
impl Serializable for PageBlockEmbed
Source§impl TryFrom<PageBlock> for PageBlockEmbed
impl TryFrom<PageBlock> for PageBlockEmbed
impl StructuralPartialEq for PageBlockEmbed
Auto Trait Implementations§
impl Freeze for PageBlockEmbed
impl RefUnwindSafe for PageBlockEmbed
impl Send for PageBlockEmbed
impl Sync for PageBlockEmbed
impl Unpin for PageBlockEmbed
impl UnsafeUnpin for PageBlockEmbed
impl UnwindSafe for PageBlockEmbed
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