1
0
mirror of https://github.com/actix/examples synced 2025-03-12 16:22:47 +01:00
2022-07-09 21:05:06 +01:00

10 lines
225 B
Rust

use serde::{Deserialize, Serialize};
#[derive(Clone, Debug, PartialEq, Eq, Deserialize, Serialize)]
pub struct User {
pub first_name: String,
pub last_name: String,
pub username: String,
pub email: String,
}