pub struct AccCashFlowArgs {
pub(crate) acc_id: Option<u64>,
pub(crate) acc_id_arg: Option<u64>,
pub(crate) card_num: Option<String>,
pub(crate) date: Option<String>,
pub(crate) date_range: Option<String>,
pub(crate) env: String,
pub(crate) market: String,
pub(crate) direction: Option<i32>,
}Fields§
§acc_id: Option<u64>账户 id(位置参数或 –acc-id 二选一)
acc_id_arg: Option<u64>v1.4.52 BUG-9: REST/MCP 风格命名参数 alias
card_num: Option<String>App 显示卡号:4 位末尾或 16 位完整卡号
date: Option<String>清算日期 YYYY-MM-DD(单日;和 --date-range 二选一)
date_range: Option<String>v1.4.32+ 日期范围 YYYY-MM-DD..YYYY-MM-DD(跨度上限 31 天,跳周末)
env: String环境:simulate / real(默认 real)
market: String市场:HK / US / CN / HKCC(默认 HK)
direction: Option<i32>方向过滤:1=入金 / 2=出金(默认全部)
Trait Implementations§
Source§impl Args for AccCashFlowArgs
impl Args for AccCashFlowArgs
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 AccCashFlowArgs
impl FromArgMatches for AccCashFlowArgs
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 AccCashFlowArgs
impl RefUnwindSafe for AccCashFlowArgs
impl Send for AccCashFlowArgs
impl Sync for AccCashFlowArgs
impl Unpin for AccCashFlowArgs
impl UnsafeUnpin for AccCashFlowArgs
impl UnwindSafe for AccCashFlowArgs
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