Struct lemmy_db_schema::source::comment_report::CommentReport
source · pub struct CommentReport {
pub id: CommentReportId,
pub creator_id: PersonId,
pub comment_id: CommentId,
pub original_comment_text: String,
pub reason: String,
pub resolved: bool,
pub resolver_id: Option<PersonId>,
pub published: DateTime<Utc>,
pub updated: Option<DateTime<Utc>>,
}
Expand description
A comment report.
Fields§
§id: CommentReportId
§creator_id: PersonId
§comment_id: CommentId
§original_comment_text: String
§reason: String
§resolved: bool
§resolver_id: Option<PersonId>
§published: DateTime<Utc>
§updated: Option<DateTime<Utc>>
Trait Implementations§
source§impl Clone for CommentReport
impl Clone for CommentReport
source§fn clone(&self) -> CommentReport
fn clone(&self) -> CommentReport
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 CommentReport
impl Debug for CommentReport
source§impl<'de> Deserialize<'de> for CommentReport
impl<'de> Deserialize<'de> for CommentReport
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 CommentReport
impl PartialEq for CommentReport
source§fn eq(&self, other: &CommentReport) -> bool
fn eq(&self, other: &CommentReport) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CommentReport
impl Serialize for CommentReport
impl Eq for CommentReport
impl StructuralPartialEq for CommentReport
Auto Trait Implementations§
impl Freeze for CommentReport
impl RefUnwindSafe for CommentReport
impl Send for CommentReport
impl Sync for CommentReport
impl Unpin for CommentReport
impl UnwindSafe for CommentReport
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