pub struct TickerStatisticDetailArgs {
pub(crate) symbol_pos: Option<String>,
pub(crate) symbol: Option<String>,
pub(crate) ticker_type: Option<i32>,
pub(crate) ticker_time: Option<u64>,
pub(crate) select_num: Option<u32>,
pub(crate) data_from: Option<u32>,
pub(crate) data_max_count: Option<u32>,
pub(crate) stat_type: Option<u32>,
}Fields§
§symbol_pos: Option<String>证券 symbol (e.g. HK.00700, US.AAPL) — 位置参数或 –symbol 二选一
symbol: Option<String>证券 symbol (named arg form, 兼容老用法)
ticker_type: Option<i32>逐笔类型 0=ALL, 1=BUY, 2=SELL, 3=BUY_AND_SELL, 4=NEUTRAL
ticker_time: Option<u64>时间戳 (ms) — 通常从前一次 ticker-statistic call 拿到. 0/省略 = backend 默认
select_num: Option<u32>筛选 0=全部价位 / 1..N=top N 价位 (backend max ~100)
data_from: Option<u32>分页 起始项 (默认 0)
data_max_count: Option<u32>分页 size 单页最大 (默认 20)
stat_type: Option<u32>市场状态 0=ALL, 1=BEFORE, 2=TRADING, 3=AFTER
Trait Implementations§
Source§impl Args for TickerStatisticDetailArgs
impl Args for TickerStatisticDetailArgs
Source§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
Report the [
ArgGroup::id][crate::ArgGroup::id] for this set of argumentsSource§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to [
Command] so it can instantiate self via
[FromArgMatches::update_from_arg_matches_mut] Read moreSource§impl FromArgMatches for TickerStatisticDetailArgs
impl FromArgMatches for TickerStatisticDetailArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Auto Trait Implementations§
impl Freeze for TickerStatisticDetailArgs
impl RefUnwindSafe for TickerStatisticDetailArgs
impl Send for TickerStatisticDetailArgs
impl Sync for TickerStatisticDetailArgs
impl Unpin for TickerStatisticDetailArgs
impl UnsafeUnpin for TickerStatisticDetailArgs
impl UnwindSafe for TickerStatisticDetailArgs
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