Struct ib_client::models::alert_response_conditions::AlertResponseConditions [−][src]
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]
pub fn new() -> AlertResponseConditions
[src]
Trait Implementations
impl Clone for AlertResponseConditions
[src]
fn clone(&self) -> AlertResponseConditions
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for AlertResponseConditions
[src]
impl<'de> Deserialize<'de> for AlertResponseConditions
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<AlertResponseConditions> for AlertResponseConditions
[src]
fn eq(&self, other: &AlertResponseConditions) -> bool
[src]
fn ne(&self, other: &AlertResponseConditions) -> bool
[src]
impl Serialize for AlertResponseConditions
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for AlertResponseConditions
[src]
Auto Trait Implementations
impl RefUnwindSafe for AlertResponseConditions
impl Send for AlertResponseConditions
impl Sync for AlertResponseConditions
impl Unpin for AlertResponseConditions
impl UnwindSafe for AlertResponseConditions
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>,