Skip to main content

CashReportCurrency

Struct CashReportCurrency 

Source
pub struct CashReportCurrency {
Show 38 fields pub account_id: String, pub acct_alias: Option<String>, pub model: Option<String>, pub currency: String, pub from_date: NaiveDate, pub to_date: NaiveDate, pub starting_cash: Decimal, pub starting_cash_sec: Option<Decimal>, pub starting_cash_com: Option<Decimal>, pub commissions: Option<Decimal>, pub commissions_sec: Option<Decimal>, pub commissions_com: Option<Decimal>, pub deposits: Option<Decimal>, pub withdrawals: Option<Decimal>, pub dividends: Option<Decimal>, pub broker_interest: Option<Decimal>, pub bond_interest: Option<Decimal>, pub withholding_tax: Option<Decimal>, pub net_trades_sales: Option<Decimal>, pub net_trades_purchases: Option<Decimal>, pub account_transfers: Option<Decimal>, pub internal_transfers: Option<Decimal>, pub external_transfers: Option<Decimal>, pub linking_adjustments: Option<Decimal>, pub other_fees: Option<Decimal>, pub fx_translation_pnl: Option<Decimal>, pub billable_sales_tax: Option<Decimal>, pub realized_forex_pnl: Option<Decimal>, pub debit_card_activity: Option<Decimal>, pub client_fees: Option<Decimal>, pub cash_settling_mtm: Option<Decimal>, pub soft_dollars: Option<Decimal>, pub ending_cash: Decimal, pub ending_cash_sec: Option<Decimal>, pub ending_cash_com: Option<Decimal>, pub ending_settled_cash: Option<Decimal>, pub ending_settled_cash_sec: Option<Decimal>, pub ending_settled_cash_com: Option<Decimal>,
}
Expand description

Cash report by currency

Fields§

§account_id: String

Account ID

§acct_alias: Option<String>

Account alias

§model: Option<String>

Model

§currency: String

Currency

§from_date: NaiveDate

From date

§to_date: NaiveDate

To date

§starting_cash: Decimal

Starting cash

§starting_cash_sec: Option<Decimal>

Starting cash (securities segment)

§starting_cash_com: Option<Decimal>

Starting cash (commodities segment)

§commissions: Option<Decimal>

Commissions paid

§commissions_sec: Option<Decimal>

Commissions (securities segment)

§commissions_com: Option<Decimal>

Commissions (commodities segment)

§deposits: Option<Decimal>

Deposits

§withdrawals: Option<Decimal>

Withdrawals

§dividends: Option<Decimal>

Dividends

§broker_interest: Option<Decimal>

Broker interest received

§bond_interest: Option<Decimal>

Bond interest received

§withholding_tax: Option<Decimal>

Withholding tax

§net_trades_sales: Option<Decimal>

Net trades sales

§net_trades_purchases: Option<Decimal>

Net trades purchases

§account_transfers: Option<Decimal>

Account transfers

§internal_transfers: Option<Decimal>

Internal transfers

§external_transfers: Option<Decimal>

External transfers

§linking_adjustments: Option<Decimal>

Link interest

§other_fees: Option<Decimal>

Other fees

§fx_translation_pnl: Option<Decimal>

FX translation P&L

§billable_sales_tax: Option<Decimal>

Billable sales tax

§realized_forex_pnl: Option<Decimal>

Realized forex P&L

§debit_card_activity: Option<Decimal>

Debit card activity

§client_fees: Option<Decimal>

Client fees

§cash_settling_mtm: Option<Decimal>

Cash settling MTM

§soft_dollars: Option<Decimal>

Soft dollar fees

§ending_cash: Decimal

Ending cash

§ending_cash_sec: Option<Decimal>

Ending cash (securities segment)

§ending_cash_com: Option<Decimal>

Ending cash (commodities segment)

§ending_settled_cash: Option<Decimal>

Ending settled cash

§ending_settled_cash_sec: Option<Decimal>

Ending settled cash (securities segment)

§ending_settled_cash_com: Option<Decimal>

Ending settled cash (commodities segment)

Trait Implementations§

Source§

impl Clone for CashReportCurrency

Source§

fn clone(&self) -> CashReportCurrency

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for CashReportCurrency

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for CashReportCurrency

Source§

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 CashReportCurrency

Source§

fn eq(&self, other: &CashReportCurrency) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for CashReportCurrency

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for CashReportCurrency

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,