pub struct DashboardReplyPreview {
pub comment_id: CommentId,
pub author: String,
pub score: i32,
pub preview: String,
pub created_at: DateTime<Utc>,
}Expand description
A truncated preview of a reply.
Fields§
§comment_id: CommentId§score: i32§preview: StringBody truncated to ~120 chars.
created_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for DashboardReplyPreview
impl Clone for DashboardReplyPreview
Source§fn clone(&self) -> DashboardReplyPreview
fn clone(&self) -> DashboardReplyPreview
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 DashboardReplyPreview
impl Debug for DashboardReplyPreview
Source§impl<'de> Deserialize<'de> for DashboardReplyPreview
impl<'de> Deserialize<'de> for DashboardReplyPreview
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 DashboardReplyPreview
impl RefUnwindSafe for DashboardReplyPreview
impl Send for DashboardReplyPreview
impl Sync for DashboardReplyPreview
impl Unpin for DashboardReplyPreview
impl UnsafeUnpin for DashboardReplyPreview
impl UnwindSafe for DashboardReplyPreview
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