mirror of
https://github.com/actix/examples
synced 2025-02-02 09:39:03 +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,
|
||
|
}
|