adding a new core module
This module will hold all the core mechanincs so that we can abstract things further and allow for a better design of the main system. This gives the freedom of moving the ui further from the logic and allows for changing the ui in the future.
This commit is contained in:
parent
02599ef5a3
commit
e05815e550
4 changed files with 97 additions and 0 deletions
11
src/rust/core/service_items.rs
Normal file
11
src/rust/core/service_items.rs
Normal file
|
@ -0,0 +1,11 @@
|
|||
use super::kinds::ServiceItemKind;
|
||||
|
||||
struct ServiceItem {
|
||||
id: i32,
|
||||
database_id: i32,
|
||||
kind: ServiceItemKind,
|
||||
}
|
||||
|
||||
struct ServiceItemModel {
|
||||
items: Vec<ServiceItem>,
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue