pub struct PlaceOrderInput<'a> {Show 13 fields
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 idempotency_key: Option<String>,
pub stop_price: Option<f64>,
pub trail_type: Option<i32>,
pub trail_value: Option<f64>,
pub trail_spread: Option<f64>,
}Fields§
§env: &'a str§acc_id: u64§market: &'a str§side: &'a str§order_type: &'a str§code: &'a str§qty: f64§price: Option<f64>§idempotency_key: Option<String>§stop_price: Option<f64>§trail_type: Option<i32>§trail_value: Option<f64>§trail_spread: Option<f64>Auto Trait Implementations§
impl<'a> Freeze for PlaceOrderInput<'a>
impl<'a> RefUnwindSafe for PlaceOrderInput<'a>
impl<'a> Send for PlaceOrderInput<'a>
impl<'a> Sync for PlaceOrderInput<'a>
impl<'a> Unpin for PlaceOrderInput<'a>
impl<'a> UnsafeUnpin for PlaceOrderInput<'a>
impl<'a> UnwindSafe for PlaceOrderInput<'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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more