pub struct XTPOrderInfo {Show 22 fields
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: u64§order_client_id: u32§order_cancel_client_id: u32§order_cancel_xtp_id: u64§ticker: String§market: XTPMarketType§price: f64§quantity: i64§price_type: XTPPriceType§side: XTPSideType§position_effect: XTPPositionEffectType§business_type: XTPBusinessType§qty_traded: i64§qty_left: i64§insert_time: i64§update_time: i64§cancel_time: i64§trade_amount: f64§order_local_id: String§order_status: XTPOrderStatusType§order_submit_status: XTPOrderSubmitStatusType§order_type: TXTPOrderTypeTypeTrait Implementations§
Source§impl Clone for XTPOrderInfo
impl Clone for XTPOrderInfo
Source§fn clone(&self) -> XTPOrderInfo
fn clone(&self) -> XTPOrderInfo
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for XTPOrderInfo
impl RefUnwindSafe for XTPOrderInfo
impl Send for XTPOrderInfo
impl Sync for XTPOrderInfo
impl Unpin for XTPOrderInfo
impl UnwindSafe for XTPOrderInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more