mirror of
https://github.com/actix/examples
synced 2025-01-23 06:14:35 +01:00
10 lines
221 B
Rust
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,
|
|
}
|