Struct lemmy_api_common::comment::ResolveCommentReport
source · pub struct ResolveCommentReport {
pub report_id: CommentReportId,
pub resolved: bool,
}Expand description
Resolve a comment report (only doable by mods).
Fields§
§report_id: CommentReportId§resolved: boolTrait Implementations§
source§impl Clone for ResolveCommentReport
impl Clone for ResolveCommentReport
source§fn clone(&self) -> ResolveCommentReport
fn clone(&self) -> ResolveCommentReport
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 ResolveCommentReport
impl Debug for ResolveCommentReport
source§impl Default for ResolveCommentReport
impl Default for ResolveCommentReport
source§fn default() -> ResolveCommentReport
fn default() -> ResolveCommentReport
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ResolveCommentReport
impl<'de> Deserialize<'de> for ResolveCommentReport
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 Hash for ResolveCommentReport
impl Hash for ResolveCommentReport
source§impl PartialEq for ResolveCommentReport
impl PartialEq for ResolveCommentReport
source§fn eq(&self, other: &ResolveCommentReport) -> bool
fn eq(&self, other: &ResolveCommentReport) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ResolveCommentReport
impl Serialize for ResolveCommentReport
impl Copy for ResolveCommentReport
impl Eq for ResolveCommentReport
impl StructuralPartialEq for ResolveCommentReport
Auto Trait Implementations§
impl Freeze for ResolveCommentReport
impl RefUnwindSafe for ResolveCommentReport
impl Send for ResolveCommentReport
impl Sync for ResolveCommentReport
impl Unpin for ResolveCommentReport
impl UnwindSafe for ResolveCommentReport
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