Struct OrderRequest

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

Implementations§

Source§

impl OrderRequest

Source

pub fn new() -> OrderRequest

Source

pub fn set_acct_id(&mut self, acct_id: String)

Source

pub fn with_acct_id(self, acct_id: String) -> OrderRequest

Source

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

Source

pub fn reset_acct_id(&mut self)

Source

pub fn set_allocation_method(&mut self, allocation_method: String)

Source

pub fn with_allocation_method(self, allocation_method: String) -> OrderRequest

Source

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

Source

pub fn reset_allocation_method(&mut self)

Source

pub fn set_aux_price(&mut self, aux_price: Value)

Source

pub fn with_aux_price(self, aux_price: Value) -> OrderRequest

Source

pub fn aux_price(&self) -> Option<&Value>

Source

pub fn reset_aux_price(&mut self)

Source

pub fn set_c_oid(&mut self, c_oid: String)

Source

pub fn with_c_oid(self, c_oid: String) -> OrderRequest

Source

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

Source

pub fn reset_c_oid(&mut self)

Source

pub fn set_conid(&mut self, conid: i32)

Source

pub fn with_conid(self, conid: i32) -> OrderRequest

Source

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

Source

pub fn reset_conid(&mut self)

Source

pub fn set_fx_qty(&mut self, fx_qty: f32)

Source

pub fn with_fx_qty(self, fx_qty: f32) -> OrderRequest

Source

pub fn fx_qty(&self) -> Option<&f32>

Source

pub fn reset_fx_qty(&mut self)

Source

pub fn set_is_ccy_conv(&mut self, is_ccy_conv: bool)

Source

pub fn with_is_ccy_conv(self, is_ccy_conv: bool) -> OrderRequest

Source

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

Source

pub fn reset_is_ccy_conv(&mut self)

Source

pub fn set_is_single_group(&mut self, is_single_group: bool)

Source

pub fn with_is_single_group(self, is_single_group: bool) -> OrderRequest

Source

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

Source

pub fn reset_is_single_group(&mut self)

Source

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

Source

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

Source

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

Source

pub fn reset_listing_exchange(&mut self)

Source

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

Source

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

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) -> OrderRequest

Source

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

Source

pub fn reset_outside_rth(&mut self)

Source

pub fn set_parent_id(&mut self, parent_id: String)

Source

pub fn with_parent_id(self, parent_id: String) -> OrderRequest

Source

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

Source

pub fn reset_parent_id(&mut self)

Source

pub fn set_price(&mut self, price: f32)

Source

pub fn with_price(self, price: f32) -> OrderRequest

Source

pub fn price(&self) -> Option<&f32>

Source

pub fn reset_price(&mut self)

Source

pub fn set_quantity(&mut self, quantity: f32)

Source

pub fn with_quantity(self, quantity: f32) -> OrderRequest

Source

pub fn quantity(&self) -> Option<&f32>

Source

pub fn reset_quantity(&mut self)

Source

pub fn set_referrer(&mut self, referrer: String)

Source

pub fn with_referrer(self, referrer: String) -> OrderRequest

Source

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

Source

pub fn reset_referrer(&mut self)

Source

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

Source

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

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) -> OrderRequest

Source

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

Source

pub fn reset_side(&mut self)

Source

pub fn set_strategy(&mut self, strategy: String)

Source

pub fn with_strategy(self, strategy: String) -> OrderRequest

Source

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

Source

pub fn reset_strategy(&mut self)

Source

pub fn set_strategy_parameters(&mut self, strategy_parameters: Value)

Source

pub fn with_strategy_parameters( self, strategy_parameters: Value, ) -> OrderRequest

Source

pub fn strategy_parameters(&self) -> Option<&Value>

Source

pub fn reset_strategy_parameters(&mut self)

Source

pub fn set_ticker(&mut self, ticker: String)

Source

pub fn with_ticker(self, ticker: String) -> OrderRequest

Source

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

Source

pub fn reset_ticker(&mut self)

Source

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

Source

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

Source

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

Source

pub fn reset_tif(&mut self)

Source

pub fn set_use_adaptive(&mut self, use_adaptive: bool)

Source

pub fn with_use_adaptive(self, use_adaptive: bool) -> OrderRequest

Source

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

Source

pub fn reset_use_adaptive(&mut self)

Trait Implementations§

Source§

impl Debug for OrderRequest

Source§

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

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

impl<'de> Deserialize<'de> for OrderRequest

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 OrderRequest

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