[−][src]Struct ib::models::ContractRules
Methods
impl ContractRules
[src]
impl ContractRules
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( | [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 Debug for ContractRules
impl Serialize for ContractRules
[src]
impl Serialize for ContractRules
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where | [src] |
impl<'de> Deserialize<'de> for ContractRules
[src]
impl<'de> Deserialize<'de> for ContractRules
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where | [src] |
Auto Trait Implementations
impl Send for ContractRules
impl Send for ContractRules
impl Sync for ContractRules
impl Sync for ContractRules
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error> | [src] |
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
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.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |
impl<T> Erased for T
impl<T> Erased for T
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,