pub struct AccountNode {
pub node: GraphNode,
pub account_code: String,
pub account_name: String,
pub account_type: String,
pub account_category: Option<String>,
pub is_balance_sheet: bool,
pub normal_balance: String,
pub company_code: String,
}Expand description
Account node with accounting-specific features.
Fields§
§node: GraphNodeBase node.
account_code: StringAccount code.
account_name: StringAccount name.
account_type: StringAccount type (Asset, Liability, etc.).
account_category: Option<String>Account category.
is_balance_sheet: boolIs balance sheet account.
normal_balance: StringNormal balance (Debit/Credit).
company_code: StringCompany code.
Implementations§
Trait Implementations§
Source§impl Clone for AccountNode
impl Clone for AccountNode
Source§fn clone(&self) -> AccountNode
fn clone(&self) -> AccountNode
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 AccountNode
impl Debug for AccountNode
Source§impl<'de> Deserialize<'de> for AccountNode
impl<'de> Deserialize<'de> for AccountNode
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 AccountNode
impl RefUnwindSafe for AccountNode
impl Send for AccountNode
impl Sync for AccountNode
impl Unpin for AccountNode
impl UnwindSafe for AccountNode
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