Struct investments::tax_statement::TaxStatement [−][src]
pub struct TaxStatement {
pub year: i32,
// some fields omitted
}
Fields
year: i32
Implementations
pub fn add_dividend_income(
&mut self,
description: &str,
date: Date,
country: CountryCode,
currency: &str,
currency_rate: Decimal,
amount: Decimal,
paid_tax: Decimal,
local_amount: Decimal,
local_paid_tax: Decimal
) -> EmptyResult
pub fn add_interest_income(
&mut self,
description: &str,
date: Date,
currency: &str,
currency_rate: Decimal,
amount: Decimal,
local_amount: Decimal
) -> EmptyResult
pub fn add_stock_income(
&mut self,
description: &str,
date: Date,
currency: &str,
currency_rate: Decimal,
amount: Decimal,
local_amount: Decimal,
purchase_local_cost: Decimal
) -> EmptyResult
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for TaxStatement
impl !Send for TaxStatement
impl !Sync for TaxStatement
impl Unpin for TaxStatement
impl !UnwindSafe for TaxStatement
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert self
to an expression for Diesel’s query builder. Read more
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
Convert &self
to an expression for Diesel’s query builder. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more