pub struct BaseArgs {
pub random_seed: u64,
pub config: Option<PathBuf>,
pub output_dir: Option<PathBuf>,
pub file_prefix: Option<String>,
pub force_overwrite: bool,
pub log_level: Option<String>,
pub debugger: Option<Option<f64>>,
pub web: Option<Option<u16>>,
}
Expand description
Default cli arguments for ixa runner
Fields§
§random_seed: u64
Random seed
config: Option<PathBuf>
Optional path for a global properties config file
output_dir: Option<PathBuf>
Optional path for report output
file_prefix: Option<String>
Optional prefix for report files
force_overwrite: bool
Overwrite existing report files?
log_level: Option<String>
Enable logging
debugger: Option<Option<f64>>
Set a breakpoint at a given time and start the debugger. Defaults to t=0.0
web: Option<Option<u16>>
Enable the Web API at a given time. Defaults to t=0.0
Trait Implementations§
Source§impl Args for BaseArgs
impl Args for BaseArgs
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 BaseArgs
impl FromArgMatches for BaseArgs
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 BaseArgs
impl RefUnwindSafe for BaseArgs
impl Send for BaseArgs
impl Sync for BaseArgs
impl Unpin for BaseArgs
impl UnwindSafe for BaseArgs
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