pub struct TradeTransfer {Show 16 fields
pub account_id: String,
pub acct_alias: Option<String>,
pub model: Option<String>,
pub symbol: Option<String>,
pub description: Option<String>,
pub conid: Option<String>,
pub asset_category: Option<AssetCategory>,
pub transfer_type: Option<String>,
pub direction: Option<String>,
pub delivery_type: Option<String>,
pub quantity: Option<Decimal>,
pub transfer_price: Option<Decimal>,
pub date: Option<NaiveDate>,
pub executing_broker: Option<String>,
pub currency: Option<String>,
pub fx_rate_to_base: Option<Decimal>,
}Expand description
Trade transfer between accounts/brokers
Fields§
§account_id: StringAccount ID
acct_alias: Option<String>Account alias
model: Option<String>Model
symbol: Option<String>Symbol
description: Option<String>Description
conid: Option<String>Contract ID
asset_category: Option<AssetCategory>Asset category
transfer_type: Option<String>Transfer type
direction: Option<String>Direction
delivery_type: Option<String>Delivery type
quantity: Option<Decimal>Quantity
transfer_price: Option<Decimal>Transfer price
date: Option<NaiveDate>Date
executing_broker: Option<String>Executing broker
currency: Option<String>Currency
fx_rate_to_base: Option<Decimal>FX rate to base
Trait Implementations§
Source§impl Clone for TradeTransfer
impl Clone for TradeTransfer
Source§fn clone(&self) -> TradeTransfer
fn clone(&self) -> TradeTransfer
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 TradeTransfer
impl Debug for TradeTransfer
Source§impl<'de> Deserialize<'de> for TradeTransfer
impl<'de> Deserialize<'de> for TradeTransfer
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 TradeTransfer
impl PartialEq for TradeTransfer
Source§impl Serialize for TradeTransfer
impl Serialize for TradeTransfer
impl StructuralPartialEq for TradeTransfer
Auto Trait Implementations§
impl Freeze for TradeTransfer
impl RefUnwindSafe for TradeTransfer
impl Send for TradeTransfer
impl Sync for TradeTransfer
impl Unpin for TradeTransfer
impl UnwindSafe for TradeTransfer
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