pub struct DashboardFeedPost {
pub id: PostId,
pub title: String,
pub author: String,
pub score: i32,
pub comment_count: i64,
pub created_at: DateTime<Utc>,
}Expand description
A post summary in a community feed.
Fields§
§id: PostId§title: String§score: i32§comment_count: i64§created_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for DashboardFeedPost
impl Clone for DashboardFeedPost
Source§fn clone(&self) -> DashboardFeedPost
fn clone(&self) -> DashboardFeedPost
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DashboardFeedPost
impl Debug for DashboardFeedPost
Source§impl<'de> Deserialize<'de> for DashboardFeedPost
impl<'de> Deserialize<'de> for DashboardFeedPost
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 DashboardFeedPost
impl RefUnwindSafe for DashboardFeedPost
impl Send for DashboardFeedPost
impl Sync for DashboardFeedPost
impl Unpin for DashboardFeedPost
impl UnsafeUnpin for DashboardFeedPost
impl UnwindSafe for DashboardFeedPost
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