pub struct AccountSpec {
pub account_code: String,
pub description: String,
pub account_type: AccountType,
pub category: AccountCategory,
pub fixed_balance: Option<Decimal>,
pub category_percent: Option<Decimal>,
pub total_assets_percent: Option<Decimal>,
}Expand description
Individual account specification override.
Fields§
§account_code: StringAccount code.
description: StringAccount description.
account_type: AccountTypeAccount type.
category: AccountCategoryCategory.
fixed_balance: Option<Decimal>Fixed balance amount (overrides calculated).
category_percent: Option<Decimal>Percentage of category total.
total_assets_percent: Option<Decimal>Percentage of total assets.
Trait Implementations§
Source§impl Clone for AccountSpec
impl Clone for AccountSpec
Source§fn clone(&self) -> AccountSpec
fn clone(&self) -> AccountSpec
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AccountSpec
impl Debug for AccountSpec
Source§impl<'de> Deserialize<'de> for AccountSpec
impl<'de> Deserialize<'de> for AccountSpec
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AccountSpec
impl RefUnwindSafe for AccountSpec
impl Send for AccountSpec
impl Sync for AccountSpec
impl Unpin for AccountSpec
impl UnwindSafe for AccountSpec
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more