Module models

Module models 

Source
Expand description

Core data models for EnvelopeCLI

This module contains all the data structures that represent the budgeting domain: accounts, transactions, categories, budget allocations, etc.

Re-exports§

pub use account::Account;
pub use account::AccountType;
pub use budget::BudgetAllocation;
pub use budget::CategoryBudgetSummary;
pub use category::Category;
pub use category::CategoryGroup;
pub use category::DefaultCategoryGroup;
pub use ids::AccountId;
pub use ids::CategoryGroupId;
pub use ids::CategoryId;
pub use ids::IncomeId;
pub use ids::PayeeId;
pub use ids::TransactionId;
pub use income::IncomeExpectation;
pub use money::Money;
pub use payee::Payee;
pub use period::BudgetPeriod;
pub use target::BudgetTarget;
pub use target::BudgetTargetId;
pub use target::TargetCadence;
pub use transaction::Split;
pub use transaction::Transaction;
pub use transaction::TransactionStatus;

Modules§

account
Account model
budget
Budget allocation model
category
Category and CategoryGroup models
ids
Strongly-typed ID wrappers for all entity types
income
Income expectation model
money
Money type for representing currency amounts
payee
Payee model
period
Budget period representation
target
Budget target model
transaction
Transaction model