Struct ib_client::models::contract_rules::ContractRules[][src]

pub struct ContractRules {
    pub order_types: Option<Vec<String>>,
    pub order_types_outside: Option<Vec<String>>,
    pub default_size: Option<f32>,
    pub size_increment: Option<f32>,
    pub tif_types: Option<Vec<String>>,
    pub limit_price: Option<f32>,
    pub stopprice: Option<f32>,
    pub preview: Option<bool>,
    pub display_size: Option<String>,
    pub increment: Option<String>,
}

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]

Trait Implementations

impl Clone for ContractRules[src]

impl Debug for ContractRules[src]

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

impl PartialEq<ContractRules> for ContractRules[src]

impl Serialize for ContractRules[src]

impl StructuralPartialEq for ContractRules[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.