Struct lemmy_db_schema::source::moderator::ModRemoveCommunity [−][src]
pub struct ModRemoveCommunity {
pub id: i32,
pub mod_person_id: PersonId,
pub community_id: CommunityId,
pub reason: Option<String>,
pub removed: Option<bool>,
pub expires: Option<NaiveDateTime>,
pub when_: NaiveDateTime,
}
Fields
id: i32
mod_person_id: PersonId
community_id: CommunityId
reason: Option<String>
removed: Option<bool>
expires: Option<NaiveDateTime>
when_: NaiveDateTime
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
impl<__DB: Backend, __ST> Queryable<__ST, __DB> for ModRemoveCommunity where
(i32, PersonId, CommunityId, Option<String>, Option<bool>, Option<NaiveDateTime>, NaiveDateTime): Queryable<__ST, __DB>,
impl<__DB: Backend, __ST> Queryable<__ST, __DB> for ModRemoveCommunity where
(i32, PersonId, CommunityId, Option<String>, Option<bool>, Option<NaiveDateTime>, NaiveDateTime): Queryable<__ST, __DB>,
Auto Trait Implementations
impl RefUnwindSafe for ModRemoveCommunity
impl Send for ModRemoveCommunity
impl Sync for ModRemoveCommunity
impl Unpin for ModRemoveCommunity
impl UnwindSafe for ModRemoveCommunity
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