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