server: Allow to search an user by name

This commit is contained in:
traxys 2023-05-29 17:55:42 +02:00
parent 68fa303a38
commit b9666726d4
2 changed files with 30 additions and 2 deletions

View file

@ -42,3 +42,9 @@ pub struct CreateHouseholdResponse {
pub struct AddToHouseholdRequest {
pub user: Uuid,
}
#[derive(Serialize, Deserialize)]
pub struct UserInfo {
pub name: String,
pub id: Uuid,
}