Struct ib_client::models::alert_response_conditions::AlertResponseConditions[][src]

pub struct AlertResponseConditions {
    pub condition_type: Option<i32>,
    pub conidex: Option<String>,
    pub contract_description_1: Option<String>,
    pub condition_operator: Option<String>,
    pub condition_trigger_method: Option<String>,
    pub condition_value: Option<String>,
    pub condition_logic_bind: Option<String>,
    pub condition_time_zone: Option<String>,
}

Fields

condition_type: Option<i32>

Types: 1-Price, 3-Time, 4-Margin, 5-Trade, 6-Volume, 7: MTA market 8: MTA Position, 9: MTA Acc. Daily PN&

conidex: Option<String>

format, conid@exchange

contract_description_1: Option<String>condition_operator: Option<String>

optional, operator for the current condition, can be >= or <=

condition_trigger_method: Option<String>

optional, only some type of conditions have triggerMethod

condition_value: Option<String>

can not be empty, can pass default value "*"

condition_logic_bind: Option<String>

"a" means "AND", "o" means "OR", "n" means "END", the last one condition in the condition array should "n"

condition_time_zone: Option<String>

only needed for some MTA alert condition

Implementations

impl AlertResponseConditions[src]

Trait Implementations

impl Clone for AlertResponseConditions[src]

impl Debug for AlertResponseConditions[src]

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

impl PartialEq<AlertResponseConditions> for AlertResponseConditions[src]

impl Serialize for AlertResponseConditions[src]

impl StructuralPartialEq for AlertResponseConditions[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.