Struct hauptbuch_core::account::Account
source · pub struct Account {
pub fullname: String,
pub partname: String,
pub balance: Decimal,
pub commodity: Option<String>,
pub child_accounts: Vec<AccountId>,
}
Fields
fullname: String
Full name of the account, e.g. “Expenses:IceCream”
partname: String
Partial name of the account, e.g. “IceCream”
balance: Decimal
The current balance of the account.
commodity: Option<String>
child_accounts: Vec<AccountId>
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Account
impl Send for Account
impl Sync for Account
impl Unpin for Account
impl UnwindSafe for Account
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more