Struct lemmy_db_schema::source::local_user::LocalUser [−][src]
pub struct LocalUser {Show 16 fields
pub id: LocalUserId,
pub person_id: PersonId,
pub password_encrypted: String,
pub email: Option<String>,
pub show_nsfw: bool,
pub theme: String,
pub default_sort_type: i16,
pub default_listing_type: i16,
pub lang: String,
pub show_avatars: bool,
pub send_notifications_to_email: bool,
pub validator_time: NaiveDateTime,
pub show_bot_accounts: bool,
pub show_scores: bool,
pub show_read_posts: bool,
pub show_new_post_notifs: bool,
}
Fields
id: LocalUserId
person_id: PersonId
password_encrypted: String
email: Option<String>
show_nsfw: bool
theme: String
default_sort_type: i16
default_listing_type: i16
lang: String
show_avatars: bool
send_notifications_to_email: bool
validator_time: NaiveDateTime
show_bot_accounts: bool
show_scores: bool
show_read_posts: bool
show_new_post_notifs: bool
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for LocalUser
impl UnwindSafe for LocalUser
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