Struct lemmy_db_schema::source::moderator::ModTransferCommunity [−][src]
pub struct ModTransferCommunity {
pub id: i32,
pub mod_person_id: PersonId,
pub other_person_id: PersonId,
pub community_id: CommunityId,
pub removed: Option<bool>,
pub when_: NaiveDateTime,
}
Fields
id: i32
mod_person_id: PersonId
other_person_id: PersonId
community_id: CommunityId
removed: Option<bool>
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 ModTransferCommunity where
(i32, PersonId, PersonId, CommunityId, Option<bool>, NaiveDateTime): Queryable<__ST, __DB>,
impl<__DB: Backend, __ST> Queryable<__ST, __DB> for ModTransferCommunity where
(i32, PersonId, PersonId, CommunityId, Option<bool>, NaiveDateTime): Queryable<__ST, __DB>,
Auto Trait Implementations
impl RefUnwindSafe for ModTransferCommunity
impl Send for ModTransferCommunity
impl Sync for ModTransferCommunity
impl Unpin for ModTransferCommunity
impl UnwindSafe for ModTransferCommunity
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