pub struct Order {Show 22 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 create_type: String,
pub cancel_type: String,
pub status: String,
pub leaves_qty: String,
pub cum_exec_qty: String,
pub avg_price: String,
pub created_time: String,
pub updated_time: String,
pub position_idx: u64,
pub trigger_price: Option<String>,
pub take_profit: Option<String>,
pub stop_loss: Option<String>,
pub reduce_only: Option<bool>,
pub close_on_trigger: Option<bool>,
}Fields§
§order_id: String§order_link_id: String§symbol: String§side: String§order_type: String§price: String§qty: String§time_in_force: String§create_type: String§cancel_type: String§status: String§leaves_qty: String§cum_exec_qty: String§avg_price: String§created_time: String§updated_time: String§position_idx: u64§trigger_price: Option<String>§take_profit: Option<String>§stop_loss: Option<String>§reduce_only: Option<bool>§close_on_trigger: Option<bool>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Order
impl<'de> Deserialize<'de> for Order
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 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