pub struct FinancialStatementLineItem {
pub line_code: String,
pub label: String,
pub section: String,
pub sort_order: u32,
pub amount: Decimal,
pub amount_prior: Option<Decimal>,
pub indent_level: u8,
pub is_total: bool,
pub gl_accounts: Vec<String>,
}Expand description
A line item on a financial statement.
Fields§
§line_code: StringLine item code (e.g., “BS-CASH”, “IS-REV”)
label: StringDisplay label
section: StringStatement section (e.g., “Current Assets”, “Revenue”)
sort_order: u32Sort order within section
amount: DecimalCurrent period amount
amount_prior: Option<Decimal>Prior period amount (for comparison)
indent_level: u8Indentation level for display hierarchy
is_total: boolWhether this is a subtotal/total line
gl_accounts: Vec<String>GL accounts that roll up to this line
Trait Implementations§
Source§impl Clone for FinancialStatementLineItem
impl Clone for FinancialStatementLineItem
Source§fn clone(&self) -> FinancialStatementLineItem
fn clone(&self) -> FinancialStatementLineItem
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 FinancialStatementLineItem
impl Debug for FinancialStatementLineItem
Source§impl<'de> Deserialize<'de> for FinancialStatementLineItem
impl<'de> Deserialize<'de> for FinancialStatementLineItem
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 FinancialStatementLineItem
impl RefUnwindSafe for FinancialStatementLineItem
impl Send for FinancialStatementLineItem
impl Sync for FinancialStatementLineItem
impl Unpin for FinancialStatementLineItem
impl UnwindSafe for FinancialStatementLineItem
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