pub struct FinancialsStatementsArgs {
pub(crate) symbol: String,
pub(crate) statement_type: Option<i32>,
pub(crate) financial_type: Option<i32>,
pub(crate) currency_code: Option<String>,
pub(crate) next_key: Option<String>,
pub(crate) num: Option<i32>,
}Fields§
§symbol: String证券 MARKET.CODE,如 HK.00700 / US.AAPL
statement_type: Option<i32>财务报表类型,0=未知,1=利润表,2=资产负债表,3=现金流量表,4=关键指标;不传走 C++ 默认 1
financial_type: Option<i32>财报周期筛选,支持 0~7 和 9~11;不传走 C++ 默认 10
currency_code: Option<String>货币代码,如 CNY / USD / HKD
next_key: Option<String>分页标识,首次不填,续拉填上次返回的 next_key
num: Option<i32>每页返回数量,范围 1~50;不传走 backend 默认 10
Trait Implementations§
Source§impl Args for FinancialsStatementsArgs
impl Args for FinancialsStatementsArgs
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 FinancialsStatementsArgs
impl FromArgMatches for FinancialsStatementsArgs
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 FinancialsStatementsArgs
impl RefUnwindSafe for FinancialsStatementsArgs
impl Send for FinancialsStatementsArgs
impl Sync for FinancialsStatementsArgs
impl Unpin for FinancialsStatementsArgs
impl UnsafeUnpin for FinancialsStatementsArgs
impl UnwindSafe for FinancialsStatementsArgs
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