18 lines
312 B
Rust
18 lines
312 B
Rust
pub mod requests;
|
|
pub mod responses;
|
|
|
|
use serde::{Deserialize, Serialize};
|
|
use uuid::Uuid;
|
|
|
|
#[derive(Serialize, Deserialize, Debug)]
|
|
pub struct UserDto {
|
|
pub id: Uuid,
|
|
pub username: String,
|
|
pub email: String,
|
|
}
|
|
|
|
#[derive(Serialize, Deserialize, Clone, Debug)]
|
|
pub struct User {
|
|
pub id: String,
|
|
}
|