1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2025-01-08 11:42:35 +00:00
comunicapiv3/src/data/user.rs

14 lines
239 B
Rust
Raw Normal View History

2020-05-24 14:35:54 +00:00
///! User information
///!
///! @author Pierre Hubert
pub type UserID = i64;
2020-05-23 17:17:48 +00:00
#[derive(Debug)]
pub struct User {
2020-05-24 14:35:54 +00:00
pub id: UserID,
2020-05-23 17:17:48 +00:00
pub email: String,
pub password: String,
pub first_name: String,
pub last_name: String,
}