toggle achievements

This commit is contained in:
2023-06-11 15:50:59 +02:00
parent fb1b863746
commit e12d616436
8 changed files with 972 additions and 21 deletions

View File

@@ -20,6 +20,11 @@ pub struct CreateAchievement {
pub goal: String,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct ToggleAchievement {
pub uuid: uuid::Uuid,
}
#[derive(Debug, Serialize, Clone, Deserialize)]
pub struct DeleteAchievement {
pub uuid: uuid::Uuid,