[][src]Struct quantaxis_rs::qaorder::QAOrder

pub struct QAOrder {
    pub account_cookie: String,
    pub user_id: String,
    pub instrument_id: String,
    pub towards: i32,
    pub exchange_id: String,
    pub order_time: String,
    pub volume: f64,
    pub price: f64,
    pub order_id: String,
    pub seqno: String,
    pub direction: String,
    pub offset: String,
    pub volume_orign: f64,
    pub price_type: String,
    pub limit_price: f64,
    pub time_condition: String,
    pub volume_condition: String,
    pub insert_date_time: String,
    pub exchange_order_id: String,
    pub status: i32,
    pub volume_left: f64,
    pub last_msg: String,
}

Fields

account_cookie: Stringuser_id: Stringinstrument_id: Stringtowards: i32exchange_id: Stringorder_time: Stringvolume: f64price: f64order_id: Stringseqno: Stringdirection: Stringoffset: Stringvolume_orign: f64price_type: Stringlimit_price: f64time_condition: Stringvolume_condition: Stringinsert_date_time: Stringexchange_order_id: Stringstatus: i32volume_left: f64last_msg: String

Implementations

impl QAOrder[src]

pub fn new(
    account: String,
    code: String,
    towards: i32,
    exchange_id: String,
    order_time: String,
    volume: f64,
    price: f64,
    order_id: String
) -> Self
[src]

pub fn to_trade_order(&self) -> TradeOrder[src]

Trait Implementations

impl Clone for QAOrder[src]

impl Debug for QAOrder[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> Pointable for T

type Init = T

The type for initializers.

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,