pub struct OrderInfo {Show 18 fields
pub order_id: String,
pub order_link_id: String,
pub symbol: String,
pub side: String,
pub order_type: String,
pub price: String,
pub qty: String,
pub time_in_force: String,
pub order_status: String,
pub cum_exec_qty: String,
pub cum_exec_value: String,
pub avg_price: String,
pub created_time: String,
pub updated_time: String,
pub take_profit: String,
pub stop_loss: String,
pub position_idx: i32,
pub reduce_only: bool,
}Expand description
Order info.
Fields§
§order_id: StringOrder ID
order_link_id: StringUser-defined order ID
symbol: StringSymbol
side: StringSide
order_type: StringOrder type
price: StringPrice
qty: StringQuantity
time_in_force: StringTime in force
order_status: StringOrder status
cum_exec_qty: StringCumulative executed qty
cum_exec_value: StringCumulative executed value
avg_price: StringAverage price
created_time: StringCreated time
updated_time: StringUpdated time
take_profit: StringTake profit price
stop_loss: StringStop loss price
position_idx: i32Position index
reduce_only: boolReduce only
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OrderInfo
impl<'de> Deserialize<'de> for OrderInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for OrderInfo
impl RefUnwindSafe for OrderInfo
impl Send for OrderInfo
impl Sync for OrderInfo
impl Unpin for OrderInfo
impl UnsafeUnpin for OrderInfo
impl UnwindSafe for OrderInfo
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