pub struct GetPostResponse {
pub post_view: PostView,
pub community_view: CommunityView,
pub moderators: Vec<CommunityModeratorView>,
pub cross_posts: Vec<PostView>,
}Expand description
The post response.
Fields§
§post_view: PostView§community_view: CommunityView§moderators: Vec<CommunityModeratorView>§cross_posts: Vec<PostView>A list of cross-posts, or other times / communities this link has been posted to.
Trait Implementations§
Source§impl Clone for GetPostResponse
impl Clone for GetPostResponse
Source§fn clone(&self) -> GetPostResponse
fn clone(&self) -> GetPostResponse
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 GetPostResponse
impl Debug for GetPostResponse
Source§impl<'de> Deserialize<'de> for GetPostResponse
impl<'de> Deserialize<'de> for GetPostResponse
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 GetPostResponse
impl RefUnwindSafe for GetPostResponse
impl Send for GetPostResponse
impl Sync for GetPostResponse
impl Unpin for GetPostResponse
impl UnwindSafe for GetPostResponse
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