server: Allow to rename the household

This commit is contained in:
traxys 2023-05-29 22:08:43 +02:00
parent c23da789a1
commit f815441240
3 changed files with 22 additions and 2 deletions

View file

@ -38,6 +38,11 @@ pub struct CreateHouseholdResponse {
pub id: Uuid,
}
#[derive(Serialize, Deserialize)]
pub struct RenameHouseholdRequest {
pub name: String,
}
#[derive(Serialize, Deserialize)]
pub struct AddToHouseholdRequest {
pub user: Uuid,