[][src]Struct twsapi::core::execution::Execution

pub struct Execution {
    pub exec_id: String,
    pub time: String,
    pub acct_number: String,
    pub exchange: String,
    pub side: String,
    pub shares: f64,
    pub price: f64,
    pub perm_id: i32,
    pub client_id: i32,
    pub order_id: i32,
    pub liquidation: i32,
    pub cum_qty: f64,
    pub avg_price: f64,
    pub order_ref: String,
    pub ev_rule: String,
    pub ev_multiplier: f64,
    pub model_code: String,
    pub last_liquidity: i32,
}

Fields

exec_id: Stringtime: Stringacct_number: Stringexchange: Stringside: Stringshares: f64price: f64perm_id: i32client_id: i32order_id: i32liquidation: i32cum_qty: f64avg_price: f64order_ref: Stringev_rule: Stringev_multiplier: f64model_code: Stringlast_liquidity: i32

Implementations

impl Execution[src]

pub fn new(
    exec_id: String,
    time: String,
    acct_number: String,
    exchange: String,
    side: String,
    shares: f64,
    price: f64,
    perm_id: i32,
    client_id: i32,
    order_id: i32,
    liquidation: i32,
    cum_qty: f64,
    avg_price: f64,
    order_ref: String,
    ev_rule: String,
    ev_multiplier: f64,
    model_code: String,
    last_liquidity: i32
) -> Self
[src]

Trait Implementations

impl Clone for Execution[src]

impl Debug for Execution[src]

impl Default for Execution[src]

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

impl Display for Execution[src]

impl Serialize for Execution[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