1
0
mirror of https://github.com/actix/examples synced 2025-01-23 06:14:35 +01:00
2022-02-18 02:01:48 +00:00

10 lines
221 B
Rust

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