OrderStatus

Struct OrderStatus 

Source
pub struct OrderStatus { /* private fields */ }

Implementations§

Source§

impl OrderStatus

Source

pub fn new() -> OrderStatus

contains all the details of an order

Source

pub fn set_account(&mut self, account: String)

Source

pub fn with_account(self, account: String) -> OrderStatus

Source

pub fn account(&self) -> Option<&String>

Source

pub fn reset_account(&mut self)

Source

pub fn set_alert_active(&mut self, alert_active: i32)

Source

pub fn with_alert_active(self, alert_active: i32) -> OrderStatus

Source

pub fn alert_active(&self) -> Option<&i32>

Source

pub fn reset_alert_active(&mut self)

Source

pub fn set_allowed_duplicate_opposite( &mut self, allowed_duplicate_opposite: bool, )

Source

pub fn with_allowed_duplicate_opposite( self, allowed_duplicate_opposite: bool, ) -> OrderStatus

Source

pub fn allowed_duplicate_opposite(&self) -> Option<&bool>

Source

pub fn reset_allowed_duplicate_opposite(&mut self)

Source

pub fn set_available_chart_periods(&mut self, available_chart_periods: String)

Source

pub fn with_available_chart_periods( self, available_chart_periods: String, ) -> OrderStatus

Source

pub fn available_chart_periods(&self) -> Option<&String>

Source

pub fn reset_available_chart_periods(&mut self)

Source

pub fn set_bg_color(&mut self, bg_color: String)

Source

pub fn with_bg_color(self, bg_color: String) -> OrderStatus

Source

pub fn bg_color(&self) -> Option<&String>

Source

pub fn reset_bg_color(&mut self)

Source

pub fn set_cannot_cancel_order(&mut self, cannot_cancel_order: bool)

Source

pub fn with_cannot_cancel_order(self, cannot_cancel_order: bool) -> OrderStatus

Source

pub fn cannot_cancel_order(&self) -> Option<&bool>

Source

pub fn reset_cannot_cancel_order(&mut self)

Source

pub fn set_child_order_type(&mut self, child_order_type: String)

Source

pub fn with_child_order_type(self, child_order_type: String) -> OrderStatus

Source

pub fn child_order_type(&self) -> Option<&String>

Source

pub fn reset_child_order_type(&mut self)

Source

pub fn set_company_name(&mut self, company_name: String)

Source

pub fn with_company_name(self, company_name: String) -> OrderStatus

Source

pub fn company_name(&self) -> Option<&String>

Source

pub fn reset_company_name(&mut self)

Source

pub fn set_conidex(&mut self, conidex: String)

Source

pub fn with_conidex(self, conidex: String) -> OrderStatus

Source

pub fn conidex(&self) -> Option<&String>

Source

pub fn reset_conidex(&mut self)

Source

pub fn set_contract_description_1(&mut self, contract_description_1: String)

Source

pub fn with_contract_description_1( self, contract_description_1: String, ) -> OrderStatus

Source

pub fn contract_description_1(&self) -> Option<&String>

Source

pub fn reset_contract_description_1(&mut self)

Source

pub fn set_cum_fill(&mut self, cum_fill: String)

Source

pub fn with_cum_fill(self, cum_fill: String) -> OrderStatus

Source

pub fn cum_fill(&self) -> Option<&String>

Source

pub fn reset_cum_fill(&mut self)

Source

pub fn set_currency(&mut self, currency: String)

Source

pub fn with_currency(self, currency: String) -> OrderStatus

Source

pub fn currency(&self) -> Option<&String>

Source

pub fn reset_currency(&mut self)

Source

pub fn set_deactivate_order(&mut self, deactivate_order: bool)

Source

pub fn with_deactivate_order(self, deactivate_order: bool) -> OrderStatus

Source

pub fn deactivate_order(&self) -> Option<&bool>

Source

pub fn reset_deactivate_order(&mut self)

Source

pub fn set_editable_fields(&mut self, editable_fields: String)

Source

pub fn with_editable_fields(self, editable_fields: String) -> OrderStatus

Source

pub fn editable_fields(&self) -> Option<&String>

Source

pub fn reset_editable_fields(&mut self)

Source

pub fn set_exit_strategy_chart_description( &mut self, exit_strategy_chart_description: String, )

Source

pub fn with_exit_strategy_chart_description( self, exit_strategy_chart_description: String, ) -> OrderStatus

Source

pub fn exit_strategy_chart_description(&self) -> Option<&String>

Source

pub fn reset_exit_strategy_chart_description(&mut self)

Source

pub fn set_exit_strategy_display_price( &mut self, exit_strategy_display_price: String, )

Source

pub fn with_exit_strategy_display_price( self, exit_strategy_display_price: String, ) -> OrderStatus

Source

pub fn exit_strategy_display_price(&self) -> Option<&String>

Source

pub fn reset_exit_strategy_display_price(&mut self)

Source

pub fn set_exit_strategy_tool_availability( &mut self, exit_strategy_tool_availability: String, )

Source

pub fn with_exit_strategy_tool_availability( self, exit_strategy_tool_availability: String, ) -> OrderStatus

Source

pub fn exit_strategy_tool_availability(&self) -> Option<&String>

Source

pub fn reset_exit_strategy_tool_availability(&mut self)

Source

pub fn set_fg_color(&mut self, fg_color: String)

Source

pub fn with_fg_color(self, fg_color: String) -> OrderStatus

Source

pub fn fg_color(&self) -> Option<&String>

Source

pub fn reset_fg_color(&mut self)

Source

pub fn set_limit_price(&mut self, limit_price: String)

Source

pub fn with_limit_price(self, limit_price: String) -> OrderStatus

Source

pub fn limit_price(&self) -> Option<&String>

Source

pub fn reset_limit_price(&mut self)

Source

pub fn set_listing_exchange(&mut self, listing_exchange: String)

Source

pub fn with_listing_exchange(self, listing_exchange: String) -> OrderStatus

Source

pub fn listing_exchange(&self) -> Option<&String>

Source

pub fn reset_listing_exchange(&mut self)

Source

pub fn set_oca_group_id(&mut self, oca_group_id: String)

Source

pub fn with_oca_group_id(self, oca_group_id: String) -> OrderStatus

Source

pub fn oca_group_id(&self) -> Option<&String>

Source

pub fn reset_oca_group_id(&mut self)

Source

pub fn set_option_acct(&mut self, option_acct: String)

Source

pub fn with_option_acct(self, option_acct: String) -> OrderStatus

Source

pub fn option_acct(&self) -> Option<&String>

Source

pub fn reset_option_acct(&mut self)

Source

pub fn set_order_description(&mut self, order_description: String)

Source

pub fn with_order_description(self, order_description: String) -> OrderStatus

Source

pub fn order_description(&self) -> Option<&String>

Source

pub fn reset_order_description(&mut self)

Source

pub fn set_order_description_with_contract( &mut self, order_description_with_contract: String, )

Source

pub fn with_order_description_with_contract( self, order_description_with_contract: String, ) -> OrderStatus

Source

pub fn order_description_with_contract(&self) -> Option<&String>

Source

pub fn reset_order_description_with_contract(&mut self)

Source

pub fn set_order_id(&mut self, order_id: i32)

Source

pub fn with_order_id(self, order_id: i32) -> OrderStatus

Source

pub fn order_id(&self) -> Option<&i32>

Source

pub fn reset_order_id(&mut self)

Source

pub fn set_order_not_editable(&mut self, order_not_editable: bool)

Source

pub fn with_order_not_editable(self, order_not_editable: bool) -> OrderStatus

Source

pub fn order_not_editable(&self) -> Option<&bool>

Source

pub fn reset_order_not_editable(&mut self)

Source

pub fn set_order_status(&mut self, order_status: String)

Source

pub fn with_order_status(self, order_status: String) -> OrderStatus

Source

pub fn order_status(&self) -> Option<&String>

Source

pub fn reset_order_status(&mut self)

Source

pub fn set_order_status_description(&mut self, order_status_description: String)

Source

pub fn with_order_status_description( self, order_status_description: String, ) -> OrderStatus

Source

pub fn order_status_description(&self) -> Option<&String>

Source

pub fn reset_order_status_description(&mut self)

Source

pub fn set_order_time(&mut self, order_time: String)

Source

pub fn with_order_time(self, order_time: String) -> OrderStatus

Source

pub fn order_time(&self) -> Option<&String>

Source

pub fn reset_order_time(&mut self)

Source

pub fn set_order_type(&mut self, order_type: String)

Source

pub fn with_order_type(self, order_type: String) -> OrderStatus

Source

pub fn order_type(&self) -> Option<&String>

Source

pub fn reset_order_type(&mut self)

Source

pub fn set_outside_rth(&mut self, outside_rth: bool)

Source

pub fn with_outside_rth(self, outside_rth: bool) -> OrderStatus

Source

pub fn outside_rth(&self) -> Option<&bool>

Source

pub fn reset_outside_rth(&mut self)

Source

pub fn set_request_id(&mut self, request_id: String)

Source

pub fn with_request_id(self, request_id: String) -> OrderStatus

Source

pub fn request_id(&self) -> Option<&String>

Source

pub fn reset_request_id(&mut self)

Source

pub fn set_sec_type(&mut self, sec_type: String)

Source

pub fn with_sec_type(self, sec_type: String) -> OrderStatus

Source

pub fn sec_type(&self) -> Option<&String>

Source

pub fn reset_sec_type(&mut self)

Source

pub fn set_side(&mut self, side: String)

Source

pub fn with_side(self, side: String) -> OrderStatus

Source

pub fn side(&self) -> Option<&String>

Source

pub fn reset_side(&mut self)

Source

pub fn set_size(&mut self, size: String)

Source

pub fn with_size(self, size: String) -> OrderStatus

Source

pub fn size(&self) -> Option<&String>

Source

pub fn reset_size(&mut self)

Source

pub fn set_size_and_fills(&mut self, size_and_fills: String)

Source

pub fn with_size_and_fills(self, size_and_fills: String) -> OrderStatus

Source

pub fn size_and_fills(&self) -> Option<&String>

Source

pub fn reset_size_and_fills(&mut self)

Source

pub fn set_stop_price(&mut self, stop_price: String)

Source

pub fn with_stop_price(self, stop_price: String) -> OrderStatus

Source

pub fn stop_price(&self) -> Option<&String>

Source

pub fn reset_stop_price(&mut self)

Source

pub fn set_sub_type(&mut self, sub_type: String)

Source

pub fn with_sub_type(self, sub_type: String) -> OrderStatus

Source

pub fn sub_type(&self) -> Option<&String>

Source

pub fn reset_sub_type(&mut self)

Source

pub fn set_symbol(&mut self, symbol: String)

Source

pub fn with_symbol(self, symbol: String) -> OrderStatus

Source

pub fn symbol(&self) -> Option<&String>

Source

pub fn reset_symbol(&mut self)

Source

pub fn set_tif(&mut self, tif: String)

Source

pub fn with_tif(self, tif: String) -> OrderStatus

Source

pub fn tif(&self) -> Option<&String>

Source

pub fn reset_tif(&mut self)

Source

pub fn set_total_size(&mut self, total_size: String)

Source

pub fn with_total_size(self, total_size: String) -> OrderStatus

Source

pub fn total_size(&self) -> Option<&String>

Source

pub fn reset_total_size(&mut self)

Source

pub fn set_use_price_mgmt_algo(&mut self, use_price_mgmt_algo: bool)

Source

pub fn with_use_price_mgmt_algo(self, use_price_mgmt_algo: bool) -> OrderStatus

Source

pub fn use_price_mgmt_algo(&self) -> Option<&bool>

Source

pub fn reset_use_price_mgmt_algo(&mut self)

Trait Implementations§

Source§

impl Debug for OrderStatus

Source§

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

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

impl<'de> Deserialize<'de> for OrderStatus

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 Serialize for OrderStatus

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

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