mirror of
https://github.com/hulthe/inkopslista.git
synced 2026-08-03 23:11:28 +02:00
Load shopping list from server on app startup
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
#[derive(Serialize, Deserialize, Default, Debug, Clone)]
|
||||
pub struct Item {
|
||||
pub name: String,
|
||||
pub data: ItemData,
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Default, Debug, Clone)]
|
||||
|
||||
pub struct ItemData {
|
||||
pub checked: bool,
|
||||
}
|
||||
Reference in New Issue
Block a user