Struct lemmy_db_schema::source::comment::CommentLike
source · pub struct CommentLike {
pub person_id: PersonId,
pub comment_id: CommentId,
pub post_id: PostId,
pub score: i16,
pub published: DateTime<Utc>,
}
Fields§
§person_id: PersonId
§comment_id: CommentId
§post_id: PostId
§score: i16
§published: DateTime<Utc>
Trait Implementations§
source§impl Clone for CommentLike
impl Clone for CommentLike
source§fn clone(&self) -> CommentLike
fn clone(&self) -> CommentLike
Returns a copy 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 CommentLike
impl Debug for CommentLike
source§impl PartialEq for CommentLike
impl PartialEq for CommentLike
source§fn eq(&self, other: &CommentLike) -> bool
fn eq(&self, other: &CommentLike) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CommentLike
impl StructuralPartialEq for CommentLike
Auto Trait Implementations§
impl Freeze for CommentLike
impl RefUnwindSafe for CommentLike
impl Send for CommentLike
impl Sync for CommentLike
impl Unpin for CommentLike
impl UnwindSafe for CommentLike
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