pub struct MaxTrdQtysInput<'a> {
pub env: &'a str,
pub acc_id: u64,
pub market: &'a str,
pub order_type: i32,
pub code: &'a str,
pub price: f64,
pub order_id: Option<u64>,
}Expand description
下单前查“最大可买 / 可卖 / 卖空 / 买回“。
code 必填(不含 market 前缀,如 00700)。price 对限价单必填,
市价单传 0 即可。order_type 对齐 Trd_Common.OrderType(1=普通/限价,
2=市价,5=竞价,6=绝对限价,等)。
Fields§
§env: &'a str§acc_id: u64§market: &'a str§order_type: i32§code: &'a str§price: f64§order_id: Option<u64>Auto Trait Implementations§
impl<'a> Freeze for MaxTrdQtysInput<'a>
impl<'a> RefUnwindSafe for MaxTrdQtysInput<'a>
impl<'a> Send for MaxTrdQtysInput<'a>
impl<'a> Sync for MaxTrdQtysInput<'a>
impl<'a> Unpin for MaxTrdQtysInput<'a>
impl<'a> UnsafeUnpin for MaxTrdQtysInput<'a>
impl<'a> UnwindSafe for MaxTrdQtysInput<'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