Struct lemmy_db_schema::source::moderator::ModBan [−][src]
pub struct ModBan {
pub id: i32,
pub mod_person_id: PersonId,
pub other_person_id: PersonId,
pub reason: Option<String>,
pub banned: Option<bool>,
pub expires: Option<NaiveDateTime>,
pub when_: NaiveDateTime,
}
Fields
id: i32
mod_person_id: PersonId
other_person_id: PersonId
reason: Option<String>
banned: Option<bool>
expires: Option<NaiveDateTime>
when_: NaiveDateTime
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ModBan
impl UnwindSafe for ModBan
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