blob: bf41fd5717f0a368bc633cffd048ea0f22f90428 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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,
}
|