[][src]Struct xtp::XTPOrderInfo

pub struct XTPOrderInfo {
    pub order_xtp_id: u64,
    pub order_client_id: u32,
    pub order_cancel_client_id: u32,
    pub order_cancel_xtp_id: u64,
    pub ticker: String,
    pub market: XTPMarketType,
    pub price: f64,
    pub quantity: i64,
    pub price_type: XTPPriceType,
    pub side: XTPSideType,
    pub position_effect: XTPPositionEffectType,
    pub business_type: XTPBusinessType,
    pub qty_traded: i64,
    pub qty_left: i64,
    pub insert_time: i64,
    pub update_time: i64,
    pub cancel_time: i64,
    pub trade_amount: f64,
    pub order_local_id: String,
    pub order_status: XTPOrderStatusType,
    pub order_submit_status: XTPOrderSubmitStatusType,
    pub order_type: TXTPOrderTypeType,
}

Fields

order_xtp_id: u64order_client_id: u32order_cancel_client_id: u32order_cancel_xtp_id: u64ticker: Stringmarket: XTPMarketTypeprice: f64quantity: i64price_type: XTPPriceTypeside: XTPSideTypeposition_effect: XTPPositionEffectTypebusiness_type: XTPBusinessTypeqty_traded: i64qty_left: i64insert_time: i64update_time: i64cancel_time: i64trade_amount: f64order_local_id: Stringorder_status: XTPOrderStatusTypeorder_submit_status: XTPOrderSubmitStatusTypeorder_type: TXTPOrderTypeType

Trait Implementations

impl Clone for XTPOrderInfo[src]

impl Debug for XTPOrderInfo[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> 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, 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.