greenhouse_core 0.2.0

greenhouse_core
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize, Debug)]
pub struct RegisterRequestDto {
    pub username: String,
    pub password: String,
    pub one_time_token: String,
}

#[derive(Serialize, Deserialize, Debug)]
pub struct RegisterResponseDto {
    pub token: String,
    pub token_type: String,
}