[][src]Struct twsapi::core::order::OrderState

pub struct OrderState {
    pub status: String,
    pub init_margin_before: String,
    pub maint_margin_before: String,
    pub equity_with_loan_before: String,
    pub init_margin_change: String,
    pub maint_margin_change: String,
    pub equity_with_loan_change: String,
    pub init_margin_after: String,
    pub maint_margin_after: String,
    pub equity_with_loan_after: String,
    pub commission: f64,
    pub min_commission: f64,
    pub max_commission: f64,
    pub commission_currency: String,
    pub warning_text: String,
    pub completed_time: String,
    pub completed_status: String,
}

Fields

status: Stringinit_margin_before: Stringmaint_margin_before: Stringequity_with_loan_before: Stringinit_margin_change: Stringmaint_margin_change: Stringequity_with_loan_change: Stringinit_margin_after: Stringmaint_margin_after: Stringequity_with_loan_after: Stringcommission: f64min_commission: f64max_commission: f64commission_currency: Stringwarning_text: Stringcompleted_time: Stringcompleted_status: String

Implementations

impl OrderState[src]

pub fn new(
    status: String,
    init_margin_before: String,
    maint_margin_before: String,
    equity_with_loan_before: String,
    init_margin_change: String,
    maint_margin_change: String,
    equity_with_loan_change: String,
    init_margin_after: String,
    maint_margin_after: String,
    equity_with_loan_after: String,
    commission: f64,
    min_commission: f64,
    max_commission: f64,
    commission_currency: String,
    warning_text: String,
    completed_time: String,
    completed_status: String
) -> Self
[src]

Trait Implementations

impl Clone for OrderState[src]

impl Debug for OrderState[src]

impl Default for OrderState[src]

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

impl Display for OrderState[src]

impl Serialize for OrderState[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> CloneAny for T where
    T: Clone + Any

impl<T> DebugAny for T where
    T: Any + Debug

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

impl<T> From<T> 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> ToString for T where
    T: Display + ?Sized
[src]

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.

impl<T> UnsafeAny for T where
    T: Any