Struct investments::tax_statement::TaxStatement [−][src]
pub struct TaxStatement { pub year: i32, // some fields omitted }
Fields
year: i32
Implementations
impl TaxStatement
[src]
impl TaxStatement
[src]pub fn read(path: &str) -> GenericResult<TaxStatement>
[src]
pub fn save(&self) -> EmptyResult
[src]
pub fn add_dividend_income(
&mut self,
description: &str,
date: Date,
currency: &str,
currency_rate: Decimal,
amount: Decimal,
paid_tax: Decimal,
local_amount: Decimal,
local_paid_tax: Decimal
) -> EmptyResult
[src]
&mut self,
description: &str,
date: Date,
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
[src]
&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
[src]
&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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> IntoSql for T
[src]
impl<T> IntoSql for T
[src]fn into_sql<T>(self) -> Self::Expression where
Self: AsExpression<T>,
[src]
fn into_sql<T>(self) -> Self::Expression where
Self: AsExpression<T>,
[src]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>,
[src]
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
[src]Convert &self
to an expression for Diesel’s query builder. Read more
impl<T> Pointable for T
impl<T> Pointable for T
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,