pub struct FinancialStatementData {
pub period: String,
pub total_assets: f64,
pub total_liabilities: f64,
pub total_equity: f64,
pub line_item_totals: Vec<(String, f64)>,
pub trial_balance_totals: Vec<(String, f64)>,
pub cash_flow_operating: f64,
pub cash_flow_investing: f64,
pub cash_flow_financing: f64,
pub cash_beginning: f64,
pub cash_ending: f64,
}Expand description
Input data for a financial statement period.
Fields§
§period: StringPeriod identifier (e.g., “2024-Q1”).
total_assets: f64Total assets from balance sheet.
total_liabilities: f64Total liabilities from balance sheet.
total_equity: f64Total equity from balance sheet.
line_item_totals: Vec<(String, f64)>Statement line item totals by GL account.
trial_balance_totals: Vec<(String, f64)>Trial balance totals by GL account for the same period.
cash_flow_operating: f64Operating cash flow.
cash_flow_investing: f64Investing cash flow.
cash_flow_financing: f64Financing cash flow.
cash_beginning: f64Beginning cash balance.
cash_ending: f64Ending cash balance.
Trait Implementations§
Source§impl Clone for FinancialStatementData
impl Clone for FinancialStatementData
Source§fn clone(&self) -> FinancialStatementData
fn clone(&self) -> FinancialStatementData
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 moreAuto Trait Implementations§
impl Freeze for FinancialStatementData
impl RefUnwindSafe for FinancialStatementData
impl Send for FinancialStatementData
impl Sync for FinancialStatementData
impl Unpin for FinancialStatementData
impl UnwindSafe for FinancialStatementData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.