pub struct Order {Show 14 fields
pub order_id: u64,
pub order_id_ex: String,
pub trd_side: i32,
pub order_type: i32,
pub order_status: i32,
pub code: String,
pub name: String,
pub qty: f64,
pub price: f64,
pub create_time: String,
pub update_time: String,
pub fill_qty: f64,
pub fill_avg_price: f64,
pub last_err_msg: String,
}Expand description
订单信息
Fields§
§order_id: u64§order_id_ex: String§trd_side: i32§order_type: i32§order_status: i32§code: String§name: String§qty: f64§price: f64§create_time: String§update_time: String§fill_qty: f64§fill_avg_price: f64§last_err_msg: StringImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Order
impl RefUnwindSafe for Order
impl Send for Order
impl Sync for Order
impl Unpin for Order
impl UnwindSafe for Order
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