Skip to main content

ClientFeesDetail

Struct ClientFeesDetail 

Source
pub struct ClientFeesDetail {
Show 26 fields pub account_id: Option<String>, pub acct_alias: Option<String>, pub model: Option<String>, pub date: Option<NaiveDate>, pub currency: Option<String>, pub fee_type: Option<String>, pub revenue: Option<Decimal>, pub expense: Option<Decimal>, pub net: Option<Decimal>, pub description: Option<String>, pub fx_rate_to_base: Option<Decimal>, pub trade_id: Option<String>, pub exec_id: Option<String>, pub total_revenue: Option<Decimal>, pub total_commission: Option<Decimal>, pub broker_execution_charge: Option<Decimal>, pub clearing_charge: Option<Decimal>, pub third_party_execution_charge: Option<Decimal>, pub third_party_regulatory_charge: Option<Decimal>, pub reg_finra_trading_activity_fee: Option<Decimal>, pub reg_section31_transaction_fee: Option<Decimal>, pub reg_other: Option<Decimal>, pub total_net: Option<Decimal>, pub total_net_in_base: Option<Decimal>, pub level_of_detail: Option<String>, pub other: Option<Decimal>,
}
Expand description

Client fee detail

Fields§

§account_id: Option<String>

Account ID

§acct_alias: Option<String>

Account alias

§model: Option<String>

Model

§date: Option<NaiveDate>

Date

§currency: Option<String>

Currency

§fee_type: Option<String>

Fee type

§revenue: Option<Decimal>

Revenue

§expense: Option<Decimal>

Expense

§net: Option<Decimal>

Net

§description: Option<String>

Description

§fx_rate_to_base: Option<Decimal>

FX rate to base

§trade_id: Option<String>

tradeID (added for full ibflex coverage)

§exec_id: Option<String>

execID (added for full ibflex coverage)

§total_revenue: Option<Decimal>

totalRevenue (added for full ibflex coverage)

§total_commission: Option<Decimal>

totalCommission (added for full ibflex coverage)

§broker_execution_charge: Option<Decimal>

brokerExecutionCharge (added for full ibflex coverage)

§clearing_charge: Option<Decimal>

clearingCharge (added for full ibflex coverage)

§third_party_execution_charge: Option<Decimal>

thirdPartyExecutionCharge (added for full ibflex coverage)

§third_party_regulatory_charge: Option<Decimal>

thirdPartyRegulatoryCharge (added for full ibflex coverage)

§reg_finra_trading_activity_fee: Option<Decimal>

regFINRATradingActivityFee (added for full ibflex coverage)

§reg_section31_transaction_fee: Option<Decimal>

regSection31TransactionFee (added for full ibflex coverage)

§reg_other: Option<Decimal>

regOther (added for full ibflex coverage)

§total_net: Option<Decimal>

totalNet (added for full ibflex coverage)

§total_net_in_base: Option<Decimal>

totalNetInBase (added for full ibflex coverage)

§level_of_detail: Option<String>

levelOfDetail (added for full ibflex coverage)

§other: Option<Decimal>

other (added for full ibflex coverage)

Trait Implementations§

Source§

impl Clone for ClientFeesDetail

Source§

fn clone(&self) -> ClientFeesDetail

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for ClientFeesDetail

Source§

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

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

impl<'de> Deserialize<'de> for ClientFeesDetail

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 ClientFeesDetail

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · 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 ClientFeesDetail

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 ClientFeesDetail

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>,