pub const ACCOUNT_NAMES: &[&'static str] = &[ "My bank account", "My cash account", "Category transfers", ]; pub struct AccountNamesDict { pub bank_account: &'static str, pub cash_account: &'static str, pub transfers_account: &'static str, } pub const ACCOUNT_NAMES_DICT: AccountNamesDict = AccountNamesDict { bank_account: ACCOUNT_NAMES[0], cash_account: ACCOUNT_NAMES[1], transfers_account: ACCOUNT_NAMES[2], };