Shopping list items can now be checked/unchecked

This commit is contained in:
Greg Burri 2025-02-12 23:13:48 +01:00
parent 3a3288bc93
commit a1fd63ad08
14 changed files with 940 additions and 790 deletions

View file

@ -19,6 +19,13 @@ pub struct Id {
pub id: i64,
}
// A value associated with an id.
#[derive(Serialize, Deserialize, Clone)]
pub struct Value<T> {
pub id: i64,
pub value: T,
}
#[derive(Serialize, Deserialize, Clone)]
pub struct Strings {
pub strs: Vec<String>,