pub struct ValuationPlateStockListArgs {
pub(crate) symbol: String,
pub(crate) valuation_type: Option<i32>,
pub(crate) next_key: Option<String>,
pub(crate) num: Option<i32>,
pub(crate) sort_type: Option<i32>,
pub(crate) sort_id: Option<i32>,
pub(crate) filter_security: Option<String>,
}Fields§
§symbol: String指数或板块 MARKET.CODE,如 HK.800000 / HK.BK0001
valuation_type: Option<i32>估值类型,0/1=PE,2=PB,3=PS;0 或不传走 C++ 默认 PE
next_key: Option<String>分页标识,首次不填,续拉填上次返回的 next_key
num: Option<i32>每页返回数量,范围 1~50;不传走 C++ 默认 10
sort_type: Option<i32>排序方向,0/2=升序,1=降序;不传走 C++ 默认升序
sort_id: Option<i32>排序列,51=市值,52=估值,53=预测估值,54=历史分位
filter_security: Option<String>指数成分股筛选板块 MARKET.CODE,仅指数场景有效
Trait Implementations§
Source§impl Args for ValuationPlateStockListArgs
impl Args for ValuationPlateStockListArgs
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 ValuationPlateStockListArgs
impl FromArgMatches for ValuationPlateStockListArgs
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 ValuationPlateStockListArgs
impl RefUnwindSafe for ValuationPlateStockListArgs
impl Send for ValuationPlateStockListArgs
impl Sync for ValuationPlateStockListArgs
impl Unpin for ValuationPlateStockListArgs
impl UnsafeUnpin for ValuationPlateStockListArgs
impl UnwindSafe for ValuationPlateStockListArgs
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