Struct lemmy_db_schema::source::person::Person [−][src]
pub struct Person {Show 20 fields
pub id: PersonId,
pub name: String,
pub display_name: Option<String>,
pub avatar: Option<DbUrl>,
pub banned: bool,
pub published: NaiveDateTime,
pub updated: Option<NaiveDateTime>,
pub actor_id: DbUrl,
pub bio: Option<String>,
pub local: bool,
pub private_key: Option<String>,
pub public_key: Option<String>,
pub last_refreshed_at: NaiveDateTime,
pub banner: Option<DbUrl>,
pub deleted: bool,
pub inbox_url: DbUrl,
pub shared_inbox_url: Option<DbUrl>,
pub matrix_user_id: Option<String>,
pub admin: bool,
pub bot_account: bool,
}
Fields
id: PersonId
name: String
display_name: Option<String>
avatar: Option<DbUrl>
banned: bool
published: NaiveDateTime
updated: Option<NaiveDateTime>
actor_id: DbUrl
bio: Option<String>
local: bool
private_key: Option<String>
public_key: Option<String>
last_refreshed_at: NaiveDateTime
deleted: bool
inbox_url: DbUrl
matrix_user_id: Option<String>
admin: bool
bot_account: bool
Trait Implementations
impl<__DB: Backend, __ST> Queryable<__ST, __DB> for Person where
(PersonId, String, Option<String>, Option<DbUrl>, bool, NaiveDateTime, Option<NaiveDateTime>, DbUrl, Option<String>, bool, Option<String>, Option<String>, NaiveDateTime, Option<DbUrl>, bool, DbUrl, Option<DbUrl>, Option<String>, bool, bool): Queryable<__ST, __DB>,
impl<__DB: Backend, __ST> Queryable<__ST, __DB> for Person where
(PersonId, String, Option<String>, Option<DbUrl>, bool, NaiveDateTime, Option<NaiveDateTime>, DbUrl, Option<String>, bool, Option<String>, Option<String>, NaiveDateTime, Option<DbUrl>, bool, DbUrl, Option<DbUrl>, Option<String>, bool, bool): Queryable<__ST, __DB>,
The Rust type you’d like to map from. Read more
Auto Trait Implementations
impl RefUnwindSafe for Person
impl UnwindSafe for Person
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