pub struct PlaceOrderCommand<'a> {Show 16 fields
pub gateway: &'a str,
pub env: &'a str,
pub acc_id: u64,
pub market: &'a str,
pub side: &'a str,
pub order_type: &'a str,
pub code: &'a str,
pub qty: f64,
pub price: Option<f64>,
pub confirm: bool,
pub idempotency_key: Option<String>,
pub stop_price: Option<f64>,
pub trail_type: Option<i32>,
pub trail_value: Option<f64>,
pub trail_spread: Option<f64>,
pub output: OutputFormat,
}Fields§
§gateway: &'a str§env: &'a str§acc_id: u64§market: &'a str§side: &'a str§order_type: &'a str§code: &'a str§qty: f64§price: Option<f64>§confirm: bool§idempotency_key: Option<String>§stop_price: Option<f64>§trail_type: Option<i32>§trail_value: Option<f64>§trail_spread: Option<f64>§output: OutputFormatAuto Trait Implementations§
impl<'a> Freeze for PlaceOrderCommand<'a>
impl<'a> RefUnwindSafe for PlaceOrderCommand<'a>
impl<'a> Send for PlaceOrderCommand<'a>
impl<'a> Sync for PlaceOrderCommand<'a>
impl<'a> Unpin for PlaceOrderCommand<'a>
impl<'a> UnsafeUnpin for PlaceOrderCommand<'a>
impl<'a> UnwindSafe for PlaceOrderCommand<'a>
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