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
Implementations
Trait Implementations
type Form = PersonBlockForm
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. 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
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more