blob: bf41fd5717f0a368bc633cffd048ea0f22f90428 (
plain) (
tree)
|
|
use crate::Privacy;
#[derive(sqlx::FromRow)]
pub struct User {
pub id: i32,
pub username: String,
pub password: String,
pub email: Option<String>,
pub bio: Option<String>,
pub site: Option<String>,
pub privacy: Privacy,
pub admin: bool,
}
|