pub(crate) struct Options {Show 13 fields
pub(crate) weidu_binary: PathBuf,
pub(crate) mod_directories: Vec<PathBuf>,
pub(crate) language: String,
pub(crate) depth: usize,
pub(crate) skip_installed: bool,
pub(crate) abort_on_warnings: bool,
pub(crate) timeout: usize,
pub(crate) weidu_log_mode: String,
pub(crate) strict_matching: bool,
pub(crate) download: bool,
pub(crate) overwrite: bool,
pub(crate) check_last_installed: bool,
pub(crate) tick: u64,
}Fields§
§weidu_binary: PathBufAbsolute Path to weidu binary
mod_directories: Vec<PathBuf>Path to mod directories
language: StringGame Language
depth: usizeDepth to walk folder structure
skip_installed: boolCompare against installed weidu log, note this is best effort
abort_on_warnings: boolIf a warning occurs in the weidu child process exit
timeout: usizeTimeout time per mod in seconds, default is 1 hour
weidu_log_mode: StringWeidu log setting “–autolog” is default
strict_matching: boolStrict Version and Component/SubComponent matching
download: boolWhen a missing log is discovered ask the user for the download uri, download the mod and install it
overwrite: boolForce copy mod folder, even if the mod folder was found in the game directory
check_last_installed: boolStrict weidu log checking
tick: u64Tick
Trait Implementations§
Source§impl Args for Options
impl Args for Options
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 Options
impl FromArgMatches for Options
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.Source§impl Parser for Options
impl Parser for Options
§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Parse from iterator, [exit][Error::exit] on error.
§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Parse from iterator, return Err on error.
§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Update from iterator, [exit][Error::exit] on error. Read more
§fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>
fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>
Update from iterator, return Err on error.
impl StructuralPartialEq for Options
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
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