Struct lemmy_db_schema::source::person::PersonSafeAlias1 [−][src]
pub struct PersonSafeAlias1 {Show 17 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 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
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 !=
.
The Rust type you’d like to map from. Read more
Auto Trait Implementations
impl RefUnwindSafe for PersonSafeAlias1
impl Send for PersonSafeAlias1
impl Sync for PersonSafeAlias1
impl Unpin for PersonSafeAlias1
impl UnwindSafe for PersonSafeAlias1
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