Struct ib_client::models::contract_rules::ContractRules [−][src]
Fields
order_types: Option<Vec<String>>
order_types_outside: Option<Vec<String>>
default_size: Option<f32>
default quantity you can use to place an order
size_increment: Option<f32>
tif_types: Option<Vec<String>>
limit_price: Option<f32>
default limit price you can use to prefill your order
stopprice: Option<f32>
default stop price you can use to prefill your order
preview: Option<bool>
if you can preview the order or not with the whatif endpoint
display_size: Option<String>
increment: Option<String>
Implementations
impl ContractRules
[src]
pub fn new() -> ContractRules
[src]
Trait Implementations
impl Clone for ContractRules
[src]
fn clone(&self) -> ContractRules
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
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 PartialEq<ContractRules> for ContractRules
[src]
fn eq(&self, other: &ContractRules) -> bool
[src]
fn ne(&self, other: &ContractRules) -> bool
[src]
impl Serialize for ContractRules
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for ContractRules
[src]
Auto Trait Implementations
impl RefUnwindSafe for ContractRules
impl Send for ContractRules
impl Sync for ContractRules
impl Unpin for ContractRules
impl UnwindSafe for ContractRules
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> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
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>,