aboutsummaryrefslogtreecommitdiff
path: root/src/model/user.rs
blob: e8a61bf153b805950c84d920c9ebcd47985ddb75 (plain)
1
2
3
4
5
6
7
8
use serde::Serialize;

#[derive(Debug, sqlx::FromRow, Clone, Serialize)]
pub struct User {
    pub id: i64,
    pub name: String,
    pub email: String,
}