pub struct PlaceOrderParams {
pub header: TrdHeader,
pub trd_side: TrdSide,
pub order_type: OrderType,
pub code: String,
pub qty: f64,
pub price: Option<f64>,
pub adjust_price: Option<bool>,
pub adjust_side_and_limit: Option<f64>,
}Expand description
下单参数
Fields§
§header: TrdHeader§trd_side: TrdSide§order_type: OrderType§code: String§qty: f64§price: Option<f64>§adjust_price: Option<bool>§adjust_side_and_limit: Option<f64>Trait Implementations§
Source§impl Clone for PlaceOrderParams
impl Clone for PlaceOrderParams
Source§fn clone(&self) -> PlaceOrderParams
fn clone(&self) -> PlaceOrderParams
Returns a duplicate 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 PlaceOrderParams
impl RefUnwindSafe for PlaceOrderParams
impl Send for PlaceOrderParams
impl Sync for PlaceOrderParams
impl Unpin for PlaceOrderParams
impl UnwindSafe for PlaceOrderParams
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