pub struct ValuationDetailArgs {
pub(crate) symbol: String,
pub(crate) valuation_type: Option<i32>,
pub(crate) interval_type: Option<i32>,
}Fields§
§symbol: String证券 MARKET.CODE,如 HK.00700 / US.AAPL / HK.800000
valuation_type: Option<i32>估值类型,0=推荐类型,1=PE,2=PB,3=PS;不传走 C++ 默认 0
interval_type: Option<i32>区间类型,1=3个月,2=6个月,3=1年,4=3年,5=2019至今,6=5年,7=10年,8=2年,9=20年,10=30年;0/不传走 C++ 默认 3
Trait Implementations§
Source§impl Args for ValuationDetailArgs
impl Args for ValuationDetailArgs
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 ValuationDetailArgs
impl FromArgMatches for ValuationDetailArgs
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 ValuationDetailArgs
impl RefUnwindSafe for ValuationDetailArgs
impl Send for ValuationDetailArgs
impl Sync for ValuationDetailArgs
impl Unpin for ValuationDetailArgs
impl UnsafeUnpin for ValuationDetailArgs
impl UnwindSafe for ValuationDetailArgs
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