pub struct NewOrder {Show 21 fields
pub client_order_id: String,
pub cum_qty: Decimal,
pub cum_quote: Decimal,
pub executed_qty: Decimal,
pub order_id: u64,
pub avg_price: Decimal,
pub orig_qty: Decimal,
pub reduce_only: bool,
pub side: String,
pub position_side: String,
pub status: String,
pub stop_price: Decimal,
pub close_position: bool,
pub symbol: String,
pub time_in_force: String,
pub type_name: String,
pub orig_type: String,
pub activate_price: Option<Decimal>,
pub price_rate: Option<Decimal>,
pub update_time: u64,
pub working_type: String,
/* private fields */
}Fields§
§client_order_id: String§cum_qty: Decimal§cum_quote: Decimal§executed_qty: Decimal§order_id: u64§avg_price: Decimal§orig_qty: Decimal§reduce_only: bool§side: String§position_side: String§status: String§stop_price: Decimal§close_position: bool§symbol: String§time_in_force: String§type_name: String§orig_type: String§activate_price: Option<Decimal>§price_rate: Option<Decimal>§update_time: u64§working_type: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for NewOrder
impl<'de> Deserialize<'de> for NewOrder
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 NewOrder
impl RefUnwindSafe for NewOrder
impl Send for NewOrder
impl Sync for NewOrder
impl Unpin for NewOrder
impl UnwindSafe for NewOrder
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