Struct ib::models::ContractRules [−][src]
Implementations
impl ContractRules
[src]
pub fn new() -> ContractRules
[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_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]
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_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]
self,
order_types_outside: Vec<String>
) -> ContractRules
pub fn order_types_outside(&self) -> Option<&Vec<String>>
[src]
pub fn reset_order_types_outside(&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_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_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_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]
Trait Implementations
impl Debug for ContractRules
[src]
impl<'de> Deserialize<'de> for ContractRules
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for ContractRules
[src]
Auto Trait Implementations
impl RefUnwindSafe for ContractRules
[src]
impl Send for ContractRules
[src]
impl Sync for ContractRules
[src]
impl Unpin for ContractRules
[src]
impl UnwindSafe for ContractRules
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,