pub struct IncomeStatement {
pub period_start: NaiveDate,
pub period_end: NaiveDate,
pub total_revenue: Decimal,
pub total_expenses: Decimal,
pub net_income: Decimal,
pub revenue_lines: Vec<IncomeStatementLine>,
pub expense_lines: Vec<IncomeStatementLine>,
}Expand description
Income Statement report
Fields§
§period_start: NaiveDate§period_end: NaiveDate§total_revenue: Decimal§total_expenses: Decimal§net_income: Decimal§revenue_lines: Vec<IncomeStatementLine>§expense_lines: Vec<IncomeStatementLine>Trait Implementations§
Source§impl Clone for IncomeStatement
impl Clone for IncomeStatement
Source§fn clone(&self) -> IncomeStatement
fn clone(&self) -> IncomeStatement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 IncomeStatement
impl Debug for IncomeStatement
Source§impl<'de> Deserialize<'de> for IncomeStatement
impl<'de> Deserialize<'de> for IncomeStatement
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<IncomeStatement, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<IncomeStatement, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for IncomeStatement
impl Serialize for IncomeStatement
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for IncomeStatement
impl RefUnwindSafe for IncomeStatement
impl Send for IncomeStatement
impl Sync for IncomeStatement
impl Unpin for IncomeStatement
impl UnsafeUnpin for IncomeStatement
impl UnwindSafe for IncomeStatement
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