pub struct PageBlockEmbeddedPost {
pub url: String,
pub author: String,
pub author_photo: Option<Photo>,
pub date: i32,
pub page_blocks: Vec<PageBlock>,
pub caption: PageBlockCaption,
}
Expand description
An embedded post
Fields§
§url: String
Web page URL
Post author
Post author photo; may be null
date: i32
Point in time (Unix timestamp) when the post was created; 0 if unknown
page_blocks: Vec<PageBlock>
Post content
caption: PageBlockCaption
Post caption
Trait Implementations§
Source§impl Clone for PageBlockEmbeddedPost
impl Clone for PageBlockEmbeddedPost
Source§fn clone(&self) -> PageBlockEmbeddedPost
fn clone(&self) -> PageBlockEmbeddedPost
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 PageBlockEmbeddedPost
impl Debug for PageBlockEmbeddedPost
Source§impl<'de> Deserialize<'de> for PageBlockEmbeddedPost
impl<'de> Deserialize<'de> for PageBlockEmbeddedPost
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 PageBlockEmbeddedPost
impl PartialEq for PageBlockEmbeddedPost
Source§impl Serialize for PageBlockEmbeddedPost
impl Serialize for PageBlockEmbeddedPost
impl StructuralPartialEq for PageBlockEmbeddedPost
Auto Trait Implementations§
impl Freeze for PageBlockEmbeddedPost
impl RefUnwindSafe for PageBlockEmbeddedPost
impl Send for PageBlockEmbeddedPost
impl Sync for PageBlockEmbeddedPost
impl Unpin for PageBlockEmbeddedPost
impl UnwindSafe for PageBlockEmbeddedPost
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