osma-server/src/types.rs

18 lines
333 B
Rust
Raw Normal View History

2022-07-26 20:14:23 +03:00
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,
}