pub struct PostWithCommentsResponse {
pub post: PostResponse,
pub comments: Vec<CommentResponse>,
pub thread_summary: Option<String>,
pub community_tags: Vec<CommunityTag>,
}Expand description
Full post with comments and metadata.
Fields§
§post: PostResponse§comments: Vec<CommentResponse>§thread_summary: Option<String>Trait Implementations§
Source§impl Debug for PostWithCommentsResponse
impl Debug for PostWithCommentsResponse
Source§impl<'de> Deserialize<'de> for PostWithCommentsResponse
impl<'de> Deserialize<'de> for PostWithCommentsResponse
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 PostWithCommentsResponse
impl RefUnwindSafe for PostWithCommentsResponse
impl Send for PostWithCommentsResponse
impl Sync for PostWithCommentsResponse
impl Unpin for PostWithCommentsResponse
impl UnsafeUnpin for PostWithCommentsResponse
impl UnwindSafe for PostWithCommentsResponse
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