mirror of
https://github.com/OSMA-D/osma-server.git
synced 2024-10-05 22:56:06 +03:00
18 lines
333 B
Rust
18 lines
333 B
Rust
|
use serde::{Deserialize, Serialize};
|
||
|
|
||
|
#[derive(Debug, Serialize, Deserialize)]
|
||
|
pub struct App {
|
||
|
id: String,
|
||
|
name: String,
|
||
|
description: String,
|
||
|
version: String,
|
||
|
platform: String,
|
||
|
}
|
||
|
|
||
|
#[derive(Debug, Serialize, Deserialize)]
|
||
|
pub struct User {
|
||
|
pub name: String,
|
||
|
pub password: String,
|
||
|
pub email: String,
|
||
|
}
|