pub struct CommentView {
pub id: String,
pub author_id: String,
pub author_name: String,
pub text: String,
pub created_at: i64,
}Expand description
A comment on a card.
Fields§
§id: StringUnique comment identifier.
Four-word identity of the author.
Display name of the author.
text: StringComment text content.
created_at: i64Unix timestamp (ms) when the comment was created.
Trait Implementations§
Source§impl Clone for CommentView
impl Clone for CommentView
Source§fn clone(&self) -> CommentView
fn clone(&self) -> CommentView
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 CommentView
impl Debug for CommentView
Source§impl<'de> Deserialize<'de> for CommentView
impl<'de> Deserialize<'de> for CommentView
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
Source§impl PartialEq for CommentView
impl PartialEq for CommentView
Source§impl Serialize for CommentView
impl Serialize for CommentView
impl Eq for CommentView
impl StructuralPartialEq for CommentView
Auto Trait Implementations§
impl Freeze for CommentView
impl RefUnwindSafe for CommentView
impl Send for CommentView
impl Sync for CommentView
impl Unpin for CommentView
impl UnsafeUnpin for CommentView
impl UnwindSafe for CommentView
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