pub struct IncomeStatement {
pub start_date: NaiveDate,
pub end_date: NaiveDate,
pub revenue: Vec<AccountBalance>,
pub expenses: Vec<AccountBalance>,
pub total_revenue: BigDecimal,
pub total_expenses: BigDecimal,
pub net_income: BigDecimal,
}
Expand description
Income Statement structure
Fields§
§start_date: NaiveDate
§end_date: NaiveDate
§revenue: Vec<AccountBalance>
§expenses: Vec<AccountBalance>
§total_revenue: BigDecimal
§total_expenses: BigDecimal
§net_income: BigDecimal
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 · 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<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
Source§impl PartialEq for IncomeStatement
impl PartialEq for IncomeStatement
Source§impl Serialize for IncomeStatement
impl Serialize for IncomeStatement
impl StructuralPartialEq for IncomeStatement
Auto Trait Implementations§
impl Freeze for IncomeStatement
impl RefUnwindSafe for IncomeStatement
impl Send for IncomeStatement
impl Sync for IncomeStatement
impl Unpin 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