pub struct TickerStatisticArgs {
pub(crate) symbol_pos: Option<String>,
pub(crate) symbol: Option<String>,
pub(crate) ticker_type: Option<i32>,
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
stat_type: Option<u32>市场状态 0=ALL, 1=BEFORE, 2=TRADING, 3=AFTER
Trait Implementations§
Source§impl Args for TickerStatisticArgs
impl Args for TickerStatisticArgs
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 TickerStatisticArgs
impl FromArgMatches for TickerStatisticArgs
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 TickerStatisticArgs
impl RefUnwindSafe for TickerStatisticArgs
impl Send for TickerStatisticArgs
impl Sync for TickerStatisticArgs
impl Unpin for TickerStatisticArgs
impl UnsafeUnpin for TickerStatisticArgs
impl UnwindSafe for TickerStatisticArgs
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