server: Allow to search an user by name
This commit is contained in:
parent
68fa303a38
commit
b9666726d4
2 changed files with 30 additions and 2 deletions
|
|
@ -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,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue