Struct lemmy_db_schema::source::person::PersonAlias1 [−][src]
pub struct PersonAlias1 {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
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 PersonAlias1 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 PersonAlias1 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 PersonAlias1
impl Send for PersonAlias1
impl Sync for PersonAlias1
impl Unpin for PersonAlias1
impl UnwindSafe for PersonAlias1
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