1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
pub const CATEGORY_NAMES: &[&'static str] = &[
"Food",
"General",
"Bills",
"Bills (Flexible)",
"Savings",
"Starting Balances",
"Income",
];
pub struct CategoryNamesDict {
pub food: &'static str,
pub general: &'static str,
pub bills: &'static str,
pub bills_flexible: &'static str,
pub savings: &'static str,
pub starting_balances: &'static str,
pub income: &'static str,
}
pub const CATEGORY_NAMES_DICT: CategoryNamesDict = CategoryNamesDict {
food: CATEGORY_NAMES[0],
general: CATEGORY_NAMES[1],
bills: CATEGORY_NAMES[2],
bills_flexible: CATEGORY_NAMES[3],
savings: CATEGORY_NAMES[4],
starting_balances: CATEGORY_NAMES[5],
income: CATEGORY_NAMES[6],
};
|