Struct lemmy_db_schema::source::moderator::ModBanForm [−][src]
pub struct ModBanForm {
pub mod_person_id: PersonId,
pub other_person_id: PersonId,
pub reason: Option<String>,
pub banned: Option<bool>,
pub expires: Option<NaiveDateTime>,
}
Fields
mod_person_id: PersonId
other_person_id: PersonId
reason: Option<String>
banned: Option<bool>
expires: Option<NaiveDateTime>
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 ModBanForm
impl Send for ModBanForm
impl Sync for ModBanForm
impl Unpin for ModBanForm
impl UnwindSafe for ModBanForm
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