pub struct OrderStatus { /* private fields */ }Implementations§
Source§impl OrderStatus
 
impl OrderStatus
Sourcepub fn new() -> OrderStatus
 
pub fn new() -> OrderStatus
contains all the details of an order
pub fn set_account(&mut self, account: String)
pub fn with_account(self, account: String) -> OrderStatus
pub fn account(&self) -> Option<&String>
pub fn reset_account(&mut self)
pub fn set_alert_active(&mut self, alert_active: i32)
pub fn with_alert_active(self, alert_active: i32) -> OrderStatus
pub fn alert_active(&self) -> Option<&i32>
pub fn reset_alert_active(&mut self)
pub fn set_allowed_duplicate_opposite( &mut self, allowed_duplicate_opposite: bool, )
pub fn with_allowed_duplicate_opposite( self, allowed_duplicate_opposite: bool, ) -> OrderStatus
pub fn allowed_duplicate_opposite(&self) -> Option<&bool>
pub fn reset_allowed_duplicate_opposite(&mut self)
pub fn set_available_chart_periods(&mut self, available_chart_periods: String)
pub fn with_available_chart_periods( self, available_chart_periods: String, ) -> OrderStatus
pub fn available_chart_periods(&self) -> Option<&String>
pub fn reset_available_chart_periods(&mut self)
pub fn set_bg_color(&mut self, bg_color: String)
pub fn with_bg_color(self, bg_color: String) -> OrderStatus
pub fn bg_color(&self) -> Option<&String>
pub fn reset_bg_color(&mut self)
pub fn set_cannot_cancel_order(&mut self, cannot_cancel_order: bool)
pub fn with_cannot_cancel_order(self, cannot_cancel_order: bool) -> OrderStatus
pub fn cannot_cancel_order(&self) -> Option<&bool>
pub fn reset_cannot_cancel_order(&mut self)
pub fn set_child_order_type(&mut self, child_order_type: String)
pub fn with_child_order_type(self, child_order_type: String) -> OrderStatus
pub fn child_order_type(&self) -> Option<&String>
pub fn reset_child_order_type(&mut self)
pub fn set_company_name(&mut self, company_name: String)
pub fn with_company_name(self, company_name: String) -> OrderStatus
pub fn company_name(&self) -> Option<&String>
pub fn reset_company_name(&mut self)
pub fn set_conidex(&mut self, conidex: String)
pub fn with_conidex(self, conidex: String) -> OrderStatus
pub fn conidex(&self) -> Option<&String>
pub fn reset_conidex(&mut self)
pub fn set_contract_description_1(&mut self, contract_description_1: String)
pub fn with_contract_description_1( self, contract_description_1: String, ) -> OrderStatus
pub fn contract_description_1(&self) -> Option<&String>
pub fn reset_contract_description_1(&mut self)
pub fn set_cum_fill(&mut self, cum_fill: String)
pub fn with_cum_fill(self, cum_fill: String) -> OrderStatus
pub fn cum_fill(&self) -> Option<&String>
pub fn reset_cum_fill(&mut self)
pub fn set_currency(&mut self, currency: String)
pub fn with_currency(self, currency: String) -> OrderStatus
pub fn currency(&self) -> Option<&String>
pub fn reset_currency(&mut self)
pub fn set_deactivate_order(&mut self, deactivate_order: bool)
pub fn with_deactivate_order(self, deactivate_order: bool) -> OrderStatus
pub fn deactivate_order(&self) -> Option<&bool>
pub fn reset_deactivate_order(&mut self)
pub fn set_editable_fields(&mut self, editable_fields: String)
pub fn with_editable_fields(self, editable_fields: String) -> OrderStatus
pub fn editable_fields(&self) -> Option<&String>
pub fn reset_editable_fields(&mut self)
pub fn set_exit_strategy_chart_description( &mut self, exit_strategy_chart_description: String, )
pub fn with_exit_strategy_chart_description( self, exit_strategy_chart_description: String, ) -> OrderStatus
pub fn exit_strategy_chart_description(&self) -> Option<&String>
pub fn reset_exit_strategy_chart_description(&mut self)
pub fn set_exit_strategy_display_price( &mut self, exit_strategy_display_price: String, )
pub fn with_exit_strategy_display_price( self, exit_strategy_display_price: String, ) -> OrderStatus
pub fn exit_strategy_display_price(&self) -> Option<&String>
pub fn reset_exit_strategy_display_price(&mut self)
pub fn set_exit_strategy_tool_availability( &mut self, exit_strategy_tool_availability: String, )
pub fn with_exit_strategy_tool_availability( self, exit_strategy_tool_availability: String, ) -> OrderStatus
pub fn exit_strategy_tool_availability(&self) -> Option<&String>
pub fn reset_exit_strategy_tool_availability(&mut self)
pub fn set_fg_color(&mut self, fg_color: String)
pub fn with_fg_color(self, fg_color: String) -> OrderStatus
pub fn fg_color(&self) -> Option<&String>
pub fn reset_fg_color(&mut self)
pub fn set_limit_price(&mut self, limit_price: String)
pub fn with_limit_price(self, limit_price: String) -> OrderStatus
pub fn limit_price(&self) -> Option<&String>
pub fn reset_limit_price(&mut self)
pub fn set_listing_exchange(&mut self, listing_exchange: String)
pub fn with_listing_exchange(self, listing_exchange: String) -> OrderStatus
pub fn listing_exchange(&self) -> Option<&String>
pub fn reset_listing_exchange(&mut self)
pub fn set_oca_group_id(&mut self, oca_group_id: String)
pub fn with_oca_group_id(self, oca_group_id: String) -> OrderStatus
pub fn oca_group_id(&self) -> Option<&String>
pub fn reset_oca_group_id(&mut self)
pub fn set_option_acct(&mut self, option_acct: String)
pub fn with_option_acct(self, option_acct: String) -> OrderStatus
pub fn option_acct(&self) -> Option<&String>
pub fn reset_option_acct(&mut self)
pub fn set_order_description(&mut self, order_description: String)
pub fn with_order_description(self, order_description: String) -> OrderStatus
pub fn order_description(&self) -> Option<&String>
pub fn reset_order_description(&mut self)
pub fn set_order_description_with_contract( &mut self, order_description_with_contract: String, )
pub fn with_order_description_with_contract( self, order_description_with_contract: String, ) -> OrderStatus
pub fn order_description_with_contract(&self) -> Option<&String>
pub fn reset_order_description_with_contract(&mut self)
pub fn set_order_id(&mut self, order_id: i32)
pub fn with_order_id(self, order_id: i32) -> OrderStatus
pub fn order_id(&self) -> Option<&i32>
pub fn reset_order_id(&mut self)
pub fn set_order_not_editable(&mut self, order_not_editable: bool)
pub fn with_order_not_editable(self, order_not_editable: bool) -> OrderStatus
pub fn order_not_editable(&self) -> Option<&bool>
pub fn reset_order_not_editable(&mut self)
pub fn set_order_status(&mut self, order_status: String)
pub fn with_order_status(self, order_status: String) -> OrderStatus
pub fn order_status(&self) -> Option<&String>
pub fn reset_order_status(&mut self)
pub fn set_order_status_description(&mut self, order_status_description: String)
pub fn with_order_status_description( self, order_status_description: String, ) -> OrderStatus
pub fn order_status_description(&self) -> Option<&String>
pub fn reset_order_status_description(&mut self)
pub fn set_order_time(&mut self, order_time: String)
pub fn with_order_time(self, order_time: String) -> OrderStatus
pub fn order_time(&self) -> Option<&String>
pub fn reset_order_time(&mut self)
pub fn set_order_type(&mut self, order_type: String)
pub fn with_order_type(self, order_type: String) -> OrderStatus
pub fn order_type(&self) -> Option<&String>
pub fn reset_order_type(&mut self)
pub fn set_outside_rth(&mut self, outside_rth: bool)
pub fn with_outside_rth(self, outside_rth: bool) -> OrderStatus
pub fn outside_rth(&self) -> Option<&bool>
pub fn reset_outside_rth(&mut self)
pub fn set_request_id(&mut self, request_id: String)
pub fn with_request_id(self, request_id: String) -> OrderStatus
pub fn request_id(&self) -> Option<&String>
pub fn reset_request_id(&mut self)
pub fn set_sec_type(&mut self, sec_type: String)
pub fn with_sec_type(self, sec_type: String) -> OrderStatus
pub fn sec_type(&self) -> Option<&String>
pub fn reset_sec_type(&mut self)
pub fn set_side(&mut self, side: String)
pub fn with_side(self, side: String) -> OrderStatus
pub fn side(&self) -> Option<&String>
pub fn reset_side(&mut self)
pub fn set_size(&mut self, size: String)
pub fn with_size(self, size: String) -> OrderStatus
pub fn size(&self) -> Option<&String>
pub fn reset_size(&mut self)
pub fn set_size_and_fills(&mut self, size_and_fills: String)
pub fn with_size_and_fills(self, size_and_fills: String) -> OrderStatus
pub fn size_and_fills(&self) -> Option<&String>
pub fn reset_size_and_fills(&mut self)
pub fn set_stop_price(&mut self, stop_price: String)
pub fn with_stop_price(self, stop_price: String) -> OrderStatus
pub fn stop_price(&self) -> Option<&String>
pub fn reset_stop_price(&mut self)
pub fn set_sub_type(&mut self, sub_type: String)
pub fn with_sub_type(self, sub_type: String) -> OrderStatus
pub fn sub_type(&self) -> Option<&String>
pub fn reset_sub_type(&mut self)
pub fn set_symbol(&mut self, symbol: String)
pub fn with_symbol(self, symbol: String) -> OrderStatus
pub fn symbol(&self) -> Option<&String>
pub fn reset_symbol(&mut self)
pub fn set_tif(&mut self, tif: String)
pub fn with_tif(self, tif: String) -> OrderStatus
pub fn tif(&self) -> Option<&String>
pub fn reset_tif(&mut self)
pub fn set_total_size(&mut self, total_size: String)
pub fn with_total_size(self, total_size: String) -> OrderStatus
pub fn total_size(&self) -> Option<&String>
pub fn reset_total_size(&mut self)
pub fn set_use_price_mgmt_algo(&mut self, use_price_mgmt_algo: bool)
pub fn with_use_price_mgmt_algo(self, use_price_mgmt_algo: bool) -> OrderStatus
pub fn use_price_mgmt_algo(&self) -> Option<&bool>
pub fn reset_use_price_mgmt_algo(&mut self)
Trait Implementations§
Source§impl Debug for OrderStatus
 
impl Debug for OrderStatus
Source§impl<'de> Deserialize<'de> for OrderStatus
 
impl<'de> Deserialize<'de> for OrderStatus
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
Auto Trait Implementations§
impl Freeze for OrderStatus
impl RefUnwindSafe for OrderStatus
impl Send for OrderStatus
impl Sync for OrderStatus
impl Unpin for OrderStatus
impl UnwindSafe for OrderStatus
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