pub struct PageBlockEmbeddedPost {
pub url: String,
pub author: String,
pub author_photo: Photo,
pub date: i32,
pub page_blocks: Vec<PageBlock>,
pub caption: RichText,
}
Expand description
An embedded post
Fields§
§url: String
Web page URL
Post author
Post author photo
date: i32
Point in time (Unix timestamp) when the post was created; 0 if unknown
page_blocks: Vec<PageBlock>
Post content
caption: RichText
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
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