pub struct CashLogArgs {Show 15 fields
pub(crate) acc_id_pos: Option<u64>,
pub(crate) acc_id: Option<u64>,
pub(crate) card_num: Option<String>,
pub(crate) env: String,
pub(crate) begin_time: u64,
pub(crate) end_time: u64,
pub(crate) log_id_cursor: Option<String>,
pub(crate) biz_group_id: Option<u32>,
pub(crate) biz_sub_group_id: Option<u32>,
pub(crate) in_out: Option<u32>,
pub(crate) currency: Option<String>,
pub(crate) symbol: Option<String>,
pub(crate) stock_id: Option<u64>,
pub(crate) max_cnt: Option<u32>,
pub(crate) keyword: Option<String>,
}Fields§
§acc_id_pos: Option<u64>账户 ID — 位置参数 (优先) 或 –acc-id 二选一
acc_id: Option<u64>账户 ID (named, 兼容老用法)
card_num: Option<String>App 显示卡号:4 位末尾或 16 位完整卡号
env: String环境: real / simulate (default real)
begin_time: u64起始时间戳 (秒, epoch)
end_time: u64结束时间戳 (秒, epoch)
log_id_cursor: Option<String>分页 cursor (字符串, 从上一页响应的 log_id 字段拿)
biz_group_id: Option<u32>业务分类 ID 过滤 (从 biz-group 拿可用 id)
biz_sub_group_id: Option<u32>业务子分类 ID 过滤 (从 biz-group 返回的 sub_groups 拿)
in_out: Option<u32>现金流方向: 1=流入, 2=流出, 0/省略=全部
currency: Option<String>币种过滤 (如 HKD / USD / JPY;可从 biz-group 的 currencies 拿)
symbol: Option<String>股票代码过滤 (如 AAPL.US / 00700.HK)
stock_id: Option<u64>backend stock_id 过滤 (有上游 stock_id 时使用)
max_cnt: Option<u32>单页最大条数;省略时 daemon 使用移动端默认 50
keyword: Option<String>关键词模糊搜
Trait Implementations§
Source§impl Args for CashLogArgs
impl Args for CashLogArgs
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 CashLogArgs
impl FromArgMatches for CashLogArgs
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 CashLogArgs
impl RefUnwindSafe for CashLogArgs
impl Send for CashLogArgs
impl Sync for CashLogArgs
impl Unpin for CashLogArgs
impl UnsafeUnpin for CashLogArgs
impl UnwindSafe for CashLogArgs
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