Struct lemmy_db_schema::source::moderator::ModRemovePost
source · pub struct ModRemovePost {
pub id: i32,
pub mod_person_id: PersonId,
pub post_id: PostId,
pub reason: Option<String>,
pub removed: bool,
pub when_: DateTime<Utc>,
}
Expand description
When a moderator removes a post.
Fields§
§id: i32
§mod_person_id: PersonId
§post_id: PostId
§reason: Option<String>
§removed: bool
§when_: DateTime<Utc>
Trait Implementations§
source§impl Clone for ModRemovePost
impl Clone for ModRemovePost
source§fn clone(&self) -> ModRemovePost
fn clone(&self) -> ModRemovePost
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 ModRemovePost
impl Debug for ModRemovePost
source§impl<'de> Deserialize<'de> for ModRemovePost
impl<'de> Deserialize<'de> for ModRemovePost
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 ModRemovePost
impl PartialEq for ModRemovePost
source§fn eq(&self, other: &ModRemovePost) -> bool
fn eq(&self, other: &ModRemovePost) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ModRemovePost
impl Serialize for ModRemovePost
impl Eq for ModRemovePost
impl StructuralPartialEq for ModRemovePost
Auto Trait Implementations§
impl Freeze for ModRemovePost
impl RefUnwindSafe for ModRemovePost
impl Send for ModRemovePost
impl Sync for ModRemovePost
impl Unpin for ModRemovePost
impl UnwindSafe for ModRemovePost
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