ferrischat_common 0.3.0

Common utilities and types for FerrisChat
Documentation
1
2
3
4
5
6
7
8
9
10
11
/// JSON accepted for POST /v0/auth
#[derive(Serialize, Deserialize, Clone)]
pub struct AuthJson {
    pub email: String,
    pub password: String,
}
/// JSON accepted for POST /v0/auth/reset
#[derive(Serialize, Deserialize, Clone)]
pub struct PasswordResetJson {
    pub password: String,
}