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