pub struct MarginInfoArgs {
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) market: String,
}Fields§
§acc_id_pos: Option<u64>账户 ID — 位置参数或 –acc-id 二选一 (v1.4.102 A3 alias)
acc_id: Option<u64>§card_num: Option<String>App 显示卡号:4 位末尾或 16 位完整卡号
env: String§market: String市场: HK / US / CN_AH (mobile cmd 3101/3102/3107)
Trait Implementations§
Source§impl Args for MarginInfoArgs
impl Args for MarginInfoArgs
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 MarginInfoArgs
impl FromArgMatches for MarginInfoArgs
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 MarginInfoArgs
impl RefUnwindSafe for MarginInfoArgs
impl Send for MarginInfoArgs
impl Sync for MarginInfoArgs
impl Unpin for MarginInfoArgs
impl UnsafeUnpin for MarginInfoArgs
impl UnwindSafe for MarginInfoArgs
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