1
0
mirror of https://github.com/actix/examples synced 2025-06-26 17:17:42 +02:00

Minor lints and clippies (#557)

This commit is contained in:
Yuri Astrakhan
2022-06-07 22:53:28 -04:00
committed by GitHub
parent 7a957cee6e
commit 912de4aa46
8 changed files with 19 additions and 22 deletions

View File

@ -5,6 +5,7 @@ use serde::Deserialize;
use crate::errors::ServiceError;
use crate::models::{Invitation, Pool, SlimUser, User};
use crate::utils::hash_password;
// UserData is used to extract data from a post request by the client
#[derive(Debug, Deserialize)]
pub struct UserData {