Struct lemmy_db_schema::source::moderator::ModAddForm [−][src]
pub struct ModAddForm {
pub mod_person_id: PersonId,
pub other_person_id: PersonId,
pub removed: Option<bool>,
}
Fields
mod_person_id: PersonId
other_person_id: PersonId
removed: Option<bool>
Trait Implementations
type Changeset = <(Eq<mod_person_id, &'update PersonId>, Eq<other_person_id, &'update PersonId>, Option<Eq<removed, &'update bool>>) as AsChangeset>::Changeset
type Changeset = <(Eq<mod_person_id, &'update PersonId>, Eq<other_person_id, &'update PersonId>, Option<Eq<removed, &'update bool>>) as AsChangeset>::Changeset
The update statement this type represents
Convert self
into the actual update statement being executed
type Changeset = <(Eq<mod_person_id, PersonId>, Eq<other_person_id, PersonId>, Option<Eq<removed, bool>>) as AsChangeset>::Changeset
type Changeset = <(Eq<mod_person_id, PersonId>, Eq<other_person_id, PersonId>, Option<Eq<removed, bool>>) as AsChangeset>::Changeset
The update statement this type represents
Convert self
into the actual update statement being executed
Auto Trait Implementations
impl RefUnwindSafe for ModAddForm
impl Send for ModAddForm
impl Sync for ModAddForm
impl Unpin for ModAddForm
impl UnwindSafe for ModAddForm
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