pub struct OrderRequest { /* private fields */ }
Implementations§
Source§impl OrderRequest
impl OrderRequest
pub fn new() -> OrderRequest
pub fn set_acct_id(&mut self, acct_id: String)
pub fn with_acct_id(self, acct_id: String) -> OrderRequest
pub fn acct_id(&self) -> Option<&String>
pub fn reset_acct_id(&mut self)
pub fn set_allocation_method(&mut self, allocation_method: String)
pub fn with_allocation_method(self, allocation_method: String) -> OrderRequest
pub fn allocation_method(&self) -> Option<&String>
pub fn reset_allocation_method(&mut self)
pub fn set_aux_price(&mut self, aux_price: Value)
pub fn with_aux_price(self, aux_price: Value) -> OrderRequest
pub fn aux_price(&self) -> Option<&Value>
pub fn reset_aux_price(&mut self)
pub fn set_c_oid(&mut self, c_oid: String)
pub fn with_c_oid(self, c_oid: String) -> OrderRequest
pub fn c_oid(&self) -> Option<&String>
pub fn reset_c_oid(&mut self)
pub fn set_conid(&mut self, conid: i32)
pub fn with_conid(self, conid: i32) -> OrderRequest
pub fn conid(&self) -> Option<&i32>
pub fn reset_conid(&mut self)
pub fn set_fx_qty(&mut self, fx_qty: f32)
pub fn with_fx_qty(self, fx_qty: f32) -> OrderRequest
pub fn fx_qty(&self) -> Option<&f32>
pub fn reset_fx_qty(&mut self)
pub fn set_is_ccy_conv(&mut self, is_ccy_conv: bool)
pub fn with_is_ccy_conv(self, is_ccy_conv: bool) -> OrderRequest
pub fn is_ccy_conv(&self) -> Option<&bool>
pub fn reset_is_ccy_conv(&mut self)
pub fn set_is_single_group(&mut self, is_single_group: bool)
pub fn with_is_single_group(self, is_single_group: bool) -> OrderRequest
pub fn is_single_group(&self) -> Option<&bool>
pub fn reset_is_single_group(&mut self)
pub fn set_listing_exchange(&mut self, listing_exchange: String)
pub fn with_listing_exchange(self, listing_exchange: String) -> OrderRequest
pub fn listing_exchange(&self) -> Option<&String>
pub fn reset_listing_exchange(&mut self)
pub fn set_order_type(&mut self, order_type: String)
pub fn with_order_type(self, order_type: String) -> OrderRequest
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) -> OrderRequest
pub fn outside_rth(&self) -> Option<&bool>
pub fn reset_outside_rth(&mut self)
pub fn set_parent_id(&mut self, parent_id: String)
pub fn with_parent_id(self, parent_id: String) -> OrderRequest
pub fn parent_id(&self) -> Option<&String>
pub fn reset_parent_id(&mut self)
pub fn set_price(&mut self, price: f32)
pub fn with_price(self, price: f32) -> OrderRequest
pub fn price(&self) -> Option<&f32>
pub fn reset_price(&mut self)
pub fn set_quantity(&mut self, quantity: f32)
pub fn with_quantity(self, quantity: f32) -> OrderRequest
pub fn quantity(&self) -> Option<&f32>
pub fn reset_quantity(&mut self)
pub fn set_referrer(&mut self, referrer: String)
pub fn with_referrer(self, referrer: String) -> OrderRequest
pub fn referrer(&self) -> Option<&String>
pub fn reset_referrer(&mut self)
pub fn set_sec_type(&mut self, sec_type: String)
pub fn with_sec_type(self, sec_type: String) -> OrderRequest
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) -> OrderRequest
pub fn side(&self) -> Option<&String>
pub fn reset_side(&mut self)
pub fn set_strategy(&mut self, strategy: String)
pub fn with_strategy(self, strategy: String) -> OrderRequest
pub fn strategy(&self) -> Option<&String>
pub fn reset_strategy(&mut self)
pub fn set_strategy_parameters(&mut self, strategy_parameters: Value)
pub fn with_strategy_parameters( self, strategy_parameters: Value, ) -> OrderRequest
pub fn strategy_parameters(&self) -> Option<&Value>
pub fn reset_strategy_parameters(&mut self)
pub fn set_ticker(&mut self, ticker: String)
pub fn with_ticker(self, ticker: String) -> OrderRequest
pub fn ticker(&self) -> Option<&String>
pub fn reset_ticker(&mut self)
pub fn set_tif(&mut self, tif: String)
pub fn with_tif(self, tif: String) -> OrderRequest
pub fn tif(&self) -> Option<&String>
pub fn reset_tif(&mut self)
pub fn set_use_adaptive(&mut self, use_adaptive: bool)
pub fn with_use_adaptive(self, use_adaptive: bool) -> OrderRequest
pub fn use_adaptive(&self) -> Option<&bool>
pub fn reset_use_adaptive(&mut self)
Trait Implementations§
Source§impl Debug for OrderRequest
impl Debug for OrderRequest
Source§impl<'de> Deserialize<'de> for OrderRequest
impl<'de> Deserialize<'de> for OrderRequest
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 OrderRequest
impl RefUnwindSafe for OrderRequest
impl Send for OrderRequest
impl Sync for OrderRequest
impl Unpin for OrderRequest
impl UnwindSafe for OrderRequest
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