Struct lemmy_db_schema::source::moderator::ModStickyPost [−][src]
pub struct ModStickyPost {
pub id: i32,
pub mod_person_id: PersonId,
pub post_id: PostId,
pub stickied: Option<bool>,
pub when_: NaiveDateTime,
}
Fields
id: i32
mod_person_id: PersonId
post_id: PostId
stickied: Option<bool>
when_: NaiveDateTime
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ModStickyPost
impl Send for ModStickyPost
impl Sync for ModStickyPost
impl Unpin for ModStickyPost
impl UnwindSafe for ModStickyPost
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