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