1
0
mirror of https://github.com/actix/examples synced 2025-02-09 04:15:37 +01:00

10 lines
225 B
Rust
Raw Normal View History

use serde::{Deserialize, Serialize};
2022-07-09 21:05:06 +01:00
#[derive(Clone, Debug, PartialEq, Eq, Deserialize, Serialize)]
pub struct User {
pub first_name: String,
pub last_name: String,
pub username: String,
pub email: String,
}