Struct lemmy_db_schema::source::moderator::ModRemovePostForm [−][src]
pub struct ModRemovePostForm {
pub mod_person_id: PersonId,
pub post_id: PostId,
pub reason: Option<String>,
pub removed: Option<bool>,
}
Fields
mod_person_id: PersonId
post_id: PostId
reason: Option<String>
removed: Option<bool>
Trait Implementations
The update statement this type represents
Convert self
into the actual update statement being executed
The update statement this type represents
Convert self
into the actual update statement being executed
Auto Trait Implementations
impl RefUnwindSafe for ModRemovePostForm
impl Send for ModRemovePostForm
impl Sync for ModRemovePostForm
impl Unpin for ModRemovePostForm
impl UnwindSafe for ModRemovePostForm
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert self
to an expression for Diesel’s query builder. Read more
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
Convert &self
to an expression for Diesel’s query builder. Read more