pub struct Config {Show 28 fields
pub check: bool,
pub color: Color,
pub command_color: Option<Color>,
pub dotenv_filename: Option<String>,
pub dotenv_path: Option<PathBuf>,
pub dry_run: bool,
pub dump_format: DumpFormat,
pub explain: bool,
pub highlight: bool,
pub invocation_directory: PathBuf,
pub list_heading: String,
pub list_prefix: String,
pub list_submodules: bool,
pub load_dotenv: bool,
pub no_aliases: bool,
pub no_dependencies: bool,
pub one: bool,
pub search_config: SearchConfig,
pub shell: Option<String>,
pub shell_args: Option<Vec<String>>,
pub shell_command: bool,
pub subcommand: Subcommand,
pub timestamp: bool,
pub timestamp_format: String,
pub unsorted: bool,
pub unstable: bool,
pub verbosity: Verbosity,
pub yes: bool,
}Fieldsยง
ยงcheck: boolยงcolor: Colorยงcommand_color: Option<Color>ยงdotenv_filename: Option<String>ยงdotenv_path: Option<PathBuf>ยงdry_run: boolยงdump_format: DumpFormatยงexplain: boolยงhighlight: boolยงinvocation_directory: PathBufยงlist_heading: Stringยงlist_prefix: Stringยงlist_submodules: boolยงload_dotenv: boolยงno_aliases: boolยงno_dependencies: boolยงone: boolยงsearch_config: SearchConfigยงshell: Option<String>ยงshell_args: Option<Vec<String>>ยงshell_command: boolยงsubcommand: Subcommandยงtimestamp: boolยงtimestamp_format: Stringยงunsorted: boolยงunstable: boolยงverbosity: Verbosityยงyes: boolImplementationsยง
Sourceยงimpl Config
impl Config
pub fn app() -> Command
pub fn from_matches(matches: &ArgMatches) -> Result<Self, ConfigError>
pub fn require_unstable( &self, justfile: &Justfile<'_>, unstable_feature: UnstableFeature, ) -> RunResult<'static>
Trait Implementationsยง
impl StructuralPartialEq for Config
Auto Trait Implementationsยง
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
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