pub struct PageBlockEmbedPost {
pub url: String,
pub webpage_id: i64,
pub author_photo_id: i64,
pub author: String,
pub date: i32,
pub blocks: Vec<PageBlock>,
pub caption: PageCaption,
}Expand description
Generated from:
pageBlockEmbedPost#f259a80b url:string webpage_id:long author_photo_id:long author:string date:int blocks:Vector<PageBlock> caption:PageCaption = PageBlockFields§
§url: String§webpage_id: i64§date: i32§blocks: Vec<PageBlock>§caption: PageCaptionTrait Implementations§
Source§impl Clone for PageBlockEmbedPost
impl Clone for PageBlockEmbedPost
Source§fn clone(&self) -> PageBlockEmbedPost
fn clone(&self) -> PageBlockEmbedPost
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 PageBlockEmbedPost
impl Debug for PageBlockEmbedPost
Source§impl Deserializable for PageBlockEmbedPost
impl Deserializable for PageBlockEmbedPost
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<PageBlockEmbedPost> for PageBlock
impl From<PageBlockEmbedPost> for PageBlock
Source§fn from(x: PageBlockEmbedPost) -> Self
fn from(x: PageBlockEmbedPost) -> Self
Converts to this type from the input type.
Source§impl Identifiable for PageBlockEmbedPost
impl Identifiable for PageBlockEmbedPost
Source§const CONSTRUCTOR_ID: u32 = 0xf259a80b
const CONSTRUCTOR_ID: u32 = 0xf259a80b
The constructor ID as specified in the TL schema.
Source§impl PartialEq for PageBlockEmbedPost
impl PartialEq for PageBlockEmbedPost
Source§impl Serializable for PageBlockEmbedPost
impl Serializable for PageBlockEmbedPost
Source§impl TryFrom<PageBlock> for PageBlockEmbedPost
impl TryFrom<PageBlock> for PageBlockEmbedPost
impl StructuralPartialEq for PageBlockEmbedPost
Auto Trait Implementations§
impl Freeze for PageBlockEmbedPost
impl RefUnwindSafe for PageBlockEmbedPost
impl Send for PageBlockEmbedPost
impl Sync for PageBlockEmbedPost
impl Unpin for PageBlockEmbedPost
impl UnsafeUnpin for PageBlockEmbedPost
impl UnwindSafe for PageBlockEmbedPost
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