Struct lemmy_db_schema::source::private_message::PrivateMessage [−][src]
pub struct PrivateMessage {
pub id: PrivateMessageId,
pub creator_id: PersonId,
pub recipient_id: PersonId,
pub content: String,
pub deleted: bool,
pub read: bool,
pub published: NaiveDateTime,
pub updated: Option<NaiveDateTime>,
pub ap_id: DbUrl,
pub local: bool,
}
Fields
id: PrivateMessageId
creator_id: PersonId
recipient_id: PersonId
content: String
deleted: bool
read: bool
published: NaiveDateTime
updated: Option<NaiveDateTime>
ap_id: DbUrl
local: bool
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 PrivateMessage where
(PrivateMessageId, PersonId, PersonId, String, bool, bool, NaiveDateTime, Option<NaiveDateTime>, DbUrl, bool): Queryable<__ST, __DB>,
impl<__DB: Backend, __ST> Queryable<__ST, __DB> for PrivateMessage where
(PrivateMessageId, PersonId, PersonId, String, bool, bool, NaiveDateTime, Option<NaiveDateTime>, DbUrl, bool): Queryable<__ST, __DB>,
Auto Trait Implementations
impl RefUnwindSafe for PrivateMessage
impl Send for PrivateMessage
impl Sync for PrivateMessage
impl Unpin for PrivateMessage
impl UnwindSafe for PrivateMessage
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