Hastic standalone
https://hastic.io
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
272 B
18 lines
272 B
3 years ago
|
use serde::{ Deserialize, Serialize };
|
||
|
|
||
|
#[derive(Debug, Deserialize, Serialize, Clone)]
|
||
|
pub struct User {
|
||
|
pub username: String,
|
||
|
pub password: String
|
||
|
}
|
||
|
|
||
|
pub struct UserService {
|
||
|
|
||
|
}
|
||
|
|
||
|
impl UserService {
|
||
|
pub fn new() -> UserService {
|
||
|
UserService{}
|
||
|
}
|
||
|
|
||
|
}
|