pub struct HistoryQueryInput<'a> {
pub env: &'a str,
pub acc_id: u64,
pub market: &'a str,
pub code_list: Vec<String>,
pub begin_time: Option<String>,
pub end_time: Option<String>,
}Expand description
查历史订单。begin_time / end_time 为 "yyyy-MM-dd HH:mm:ss" 格式,
为 None 时服务端默认返回近期。code_list 空 = 不过滤股票。
Fields§
§env: &'a str§acc_id: u64§market: &'a str§code_list: Vec<String>§begin_time: Option<String>§end_time: Option<String>Auto Trait Implementations§
impl<'a> Freeze for HistoryQueryInput<'a>
impl<'a> RefUnwindSafe for HistoryQueryInput<'a>
impl<'a> Send for HistoryQueryInput<'a>
impl<'a> Sync for HistoryQueryInput<'a>
impl<'a> Unpin for HistoryQueryInput<'a>
impl<'a> UnsafeUnpin for HistoryQueryInput<'a>
impl<'a> UnwindSafe for HistoryQueryInput<'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