pub struct AccCashFlowRangeCommand<'a> {
pub gateway: &'a str,
pub acc_id: u64,
pub date_from: NaiveDate,
pub date_to: NaiveDate,
pub env: &'a str,
pub market: &'a str,
pub direction: Option<i32>,
}Expand description
v1.4.32: --date-range FROM..TO 便利封装。proto clearing_date 一次只接
一天,这里在 CLI 层循环每个工作日调一次单日版,跳周末。
服务端限流考虑:31 天硬上限,防止 bot 脚本无意中打出几百个连续日期 请求被服务端 rate-limit 掉。
Fields§
§gateway: &'a str§acc_id: u64§date_from: NaiveDate§date_to: NaiveDate§env: &'a str§market: &'a str§direction: Option<i32>Auto Trait Implementations§
impl<'a> Freeze for AccCashFlowRangeCommand<'a>
impl<'a> RefUnwindSafe for AccCashFlowRangeCommand<'a>
impl<'a> Send for AccCashFlowRangeCommand<'a>
impl<'a> Sync for AccCashFlowRangeCommand<'a>
impl<'a> Unpin for AccCashFlowRangeCommand<'a>
impl<'a> UnsafeUnpin for AccCashFlowRangeCommand<'a>
impl<'a> UnwindSafe for AccCashFlowRangeCommand<'a>
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