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: bool
Implementationsยง
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 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