mirror of
https://github.com/hulthe/inkopslista.git
synced 2026-08-03 23:11:28 +02:00
idk what I did last
This commit is contained in:
+6
-2
@@ -7,9 +7,13 @@ pub struct Item {
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Default, Debug, Clone)]
|
||||
|
||||
pub struct ItemData {
|
||||
pub checked: bool,
|
||||
pub amount: i64,
|
||||
// TODO: add number
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Default, Debug, Clone)]
|
||||
pub struct ButtonItem {
|
||||
pub name: String,
|
||||
pub category: Option<String>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user