[][src]Struct ib::models::ContractRules

pub struct ContractRules { /* fields omitted */ }

Methods

impl ContractRules
[src]

pub fn new() -> ContractRules
[src]

pub fn set_order_types(&mut self, order_types: Vec<String>)
[src]

pub fn with_order_types(self, order_types: Vec<String>) -> ContractRules
[src]

pub fn order_types(&self) -> Option<&Vec<String>>
[src]

pub fn reset_order_types(&mut self)
[src]

pub fn set_order_types_outside(&mut self, order_types_outside: Vec<String>)
[src]

pub fn with_order_types_outside(
    self,
    order_types_outside: Vec<String>
) -> ContractRules
[src]

pub fn order_types_outside(&self) -> Option<&Vec<String>>
[src]

pub fn reset_order_types_outside(&mut self)
[src]

pub fn set_default_size(&mut self, default_size: f32)
[src]

pub fn with_default_size(self, default_size: f32) -> ContractRules
[src]

pub fn default_size(&self) -> Option<&f32>
[src]

pub fn reset_default_size(&mut self)
[src]

pub fn set_size_increment(&mut self, size_increment: f32)
[src]

pub fn with_size_increment(self, size_increment: f32) -> ContractRules
[src]

pub fn size_increment(&self) -> Option<&f32>
[src]

pub fn reset_size_increment(&mut self)
[src]

pub fn set_tif_types(&mut self, tif_types: Vec<String>)
[src]

pub fn with_tif_types(self, tif_types: Vec<String>) -> ContractRules
[src]

pub fn tif_types(&self) -> Option<&Vec<String>>
[src]

pub fn reset_tif_types(&mut self)
[src]

pub fn set_limit_price(&mut self, limit_price: f32)
[src]

pub fn with_limit_price(self, limit_price: f32) -> ContractRules
[src]

pub fn limit_price(&self) -> Option<&f32>
[src]

pub fn reset_limit_price(&mut self)
[src]

pub fn set_stopprice(&mut self, stopprice: f32)
[src]

pub fn with_stopprice(self, stopprice: f32) -> ContractRules
[src]

pub fn stopprice(&self) -> Option<&f32>
[src]

pub fn reset_stopprice(&mut self)
[src]

pub fn set_preview(&mut self, preview: bool)
[src]

pub fn with_preview(self, preview: bool) -> ContractRules
[src]

pub fn preview(&self) -> Option<&bool>
[src]

pub fn reset_preview(&mut self)
[src]

pub fn set_display_size(&mut self, display_size: String)
[src]

pub fn with_display_size(self, display_size: String) -> ContractRules
[src]

pub fn display_size(&self) -> Option<&String>
[src]

pub fn reset_display_size(&mut self)
[src]

pub fn set_increment(&mut self, increment: String)
[src]

pub fn with_increment(self, increment: String) -> ContractRules
[src]

pub fn increment(&self) -> Option<&String>
[src]

pub fn reset_increment(&mut self)
[src]

Trait Implementations

impl Debug for ContractRules
[src]

impl Serialize for ContractRules
[src]

impl<'de> Deserialize<'de> for ContractRules
[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

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.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]