Struct lemmy_db_schema::source::person_block::PersonBlock [−][src]
pub struct PersonBlock {
pub id: PersonBlockId,
pub person_id: PersonId,
pub target_id: PersonId,
pub published: NaiveDateTime,
}
Fields
id: PersonBlockId
person_id: PersonId
target_id: PersonId
published: 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 PersonBlock where
(PersonBlockId, PersonId, PersonId, NaiveDateTime): Queryable<__ST, __DB>,
impl<__DB: Backend, __ST> Queryable<__ST, __DB> for PersonBlock where
(PersonBlockId, PersonId, PersonId, NaiveDateTime): Queryable<__ST, __DB>,
Auto Trait Implementations
impl RefUnwindSafe for PersonBlock
impl Send for PersonBlock
impl Sync for PersonBlock
impl Unpin for PersonBlock
impl UnwindSafe for PersonBlock
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