[−][src]Struct ib::models::Trade
Methods
impl Trade
[src]
impl Trade
pub fn new() -> Trade | [src] |
pub fn set_execution_id(&mut self, execution_id: String) | [src] |
pub fn with_execution_id(self, execution_id: String) -> Trade | [src] |
pub fn execution_id(&self) -> Option<&String> | [src] |
pub fn reset_execution_id(&mut self) | [src] |
pub fn set_symbol(&mut self, symbol: String) | [src] |
pub fn with_symbol(self, symbol: String) -> Trade | [src] |
pub fn symbol(&self) -> Option<&String> | [src] |
pub fn reset_symbol(&mut self) | [src] |
pub fn set_side(&mut self, side: String) | [src] |
pub fn with_side(self, side: String) -> Trade | [src] |
pub fn side(&self) -> Option<&String> | [src] |
pub fn reset_side(&mut self) | [src] |
pub fn set_order_description(&mut self, order_description: String) | [src] |
pub fn with_order_description(self, order_description: String) -> Trade | [src] |
pub fn order_description(&self) -> Option<&String> | [src] |
pub fn reset_order_description(&mut self) | [src] |
pub fn set_trade_time(&mut self, trade_time: String) | [src] |
pub fn with_trade_time(self, trade_time: String) -> Trade | [src] |
pub fn trade_time(&self) -> Option<&String> | [src] |
pub fn reset_trade_time(&mut self) | [src] |
pub fn set_trade_time_r(&mut self, trade_time_r: f32) | [src] |
pub fn with_trade_time_r(self, trade_time_r: f32) -> Trade | [src] |
pub fn trade_time_r(&self) -> Option<&f32> | [src] |
pub fn reset_trade_time_r(&mut self) | [src] |
pub fn set_size(&mut self, size: String) | [src] |
pub fn with_size(self, size: String) -> Trade | [src] |
pub fn size(&self) -> Option<&String> | [src] |
pub fn reset_size(&mut self) | [src] |
pub fn set_price(&mut self, price: String) | [src] |
pub fn with_price(self, price: String) -> Trade | [src] |
pub fn price(&self) -> Option<&String> | [src] |
pub fn reset_price(&mut self) | [src] |
pub fn set_submitter(&mut self, submitter: String) | [src] |
pub fn with_submitter(self, submitter: String) -> Trade | [src] |
pub fn submitter(&self) -> Option<&String> | [src] |
pub fn reset_submitter(&mut self) | [src] |
pub fn set_exchange(&mut self, exchange: String) | [src] |
pub fn with_exchange(self, exchange: String) -> Trade | [src] |
pub fn exchange(&self) -> Option<&String> | [src] |
pub fn reset_exchange(&mut self) | [src] |
pub fn set_comission(&mut self, comission: f32) | [src] |
pub fn with_comission(self, comission: f32) -> Trade | [src] |
pub fn comission(&self) -> Option<&f32> | [src] |
pub fn reset_comission(&mut self) | [src] |
pub fn set_net_amount(&mut self, net_amount: f32) | [src] |
pub fn with_net_amount(self, net_amount: f32) -> Trade | [src] |
pub fn net_amount(&self) -> Option<&f32> | [src] |
pub fn reset_net_amount(&mut self) | [src] |
pub fn set_account(&mut self, account: String) | [src] |
pub fn with_account(self, account: String) -> Trade | [src] |
pub fn account(&self) -> Option<&String> | [src] |
pub fn reset_account(&mut self) | [src] |
pub fn set_company_name(&mut self, company_name: String) | [src] |
pub fn with_company_name(self, company_name: String) -> Trade | [src] |
pub fn company_name(&self) -> Option<&String> | [src] |
pub fn reset_company_name(&mut self) | [src] |
pub fn set_contract_description_1(&mut self, contract_description_1: String) | [src] |
pub fn with_contract_description_1( | [src] |
pub fn contract_description_1(&self) -> Option<&String> | [src] |
pub fn reset_contract_description_1(&mut self) | [src] |
pub fn set_sec_type(&mut self, sec_type: String) | [src] |
pub fn with_sec_type(self, sec_type: String) -> Trade | [src] |
pub fn sec_type(&self) -> Option<&String> | [src] |
pub fn reset_sec_type(&mut self) | [src] |
pub fn set_conidex(&mut self, conidex: String) | [src] |
pub fn with_conidex(self, conidex: String) -> Trade | [src] |
pub fn conidex(&self) -> Option<&String> | [src] |
pub fn reset_conidex(&mut self) | [src] |
pub fn set_position(&mut self, position: String) | [src] |
pub fn with_position(self, position: String) -> Trade | [src] |
pub fn position(&self) -> Option<&String> | [src] |
pub fn reset_position(&mut self) | [src] |
pub fn set_clearing_id(&mut self, clearing_id: String) | [src] |
pub fn with_clearing_id(self, clearing_id: String) -> Trade | [src] |
pub fn clearing_id(&self) -> Option<&String> | [src] |
pub fn reset_clearing_id(&mut self) | [src] |
pub fn set_clearing_name(&mut self, clearing_name: String) | [src] |
pub fn with_clearing_name(self, clearing_name: String) -> Trade | [src] |
pub fn clearing_name(&self) -> Option<&String> | [src] |
pub fn reset_clearing_name(&mut self) | [src] |
Trait Implementations
impl Debug for Trade
[src]
impl Debug for Trade
impl Serialize for Trade
[src]
impl Serialize for Trade
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where | [src] |
impl<'de> Deserialize<'de> for Trade
[src]
impl<'de> Deserialize<'de> for Trade
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where | [src] |
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error> | [src] |
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |
impl<T> Erased for T
impl<T> Erased for T
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,