pub struct ModRemoveComment {
pub id: i32,
pub mod_person_id: PersonId,
pub comment_id: CommentId,
pub reason: Option<String>,
pub removed: bool,
pub when_: DateTime<Utc>,
}Expand description
When a moderator removes a comment.
Fields§
§id: i32§mod_person_id: PersonId§comment_id: CommentId§reason: Option<String>§removed: bool§when_: DateTime<Utc>Trait Implementations§
Source§impl Clone for ModRemoveComment
impl Clone for ModRemoveComment
Source§fn clone(&self) -> ModRemoveComment
fn clone(&self) -> ModRemoveComment
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 ModRemoveComment
impl Debug for ModRemoveComment
Source§impl<'de> Deserialize<'de> for ModRemoveComment
impl<'de> Deserialize<'de> for ModRemoveComment
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 ModRemoveComment
impl PartialEq for ModRemoveComment
Source§impl Serialize for ModRemoveComment
impl Serialize for ModRemoveComment
impl Eq for ModRemoveComment
impl StructuralPartialEq for ModRemoveComment
Auto Trait Implementations§
impl Freeze for ModRemoveComment
impl RefUnwindSafe for ModRemoveComment
impl Send for ModRemoveComment
impl Sync for ModRemoveComment
impl Unpin for ModRemoveComment
impl UnwindSafe for ModRemoveComment
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