pub struct Config {
pub language: String,
pub config_name: String,
pub project: String,
pub module: String,
pub config_dir: Option<PathBuf>,
pub workdir: PathBuf,
pub home_dir: Option<PathBuf>,
pub log_level: LevelFilter,
pub raw_matches: ArgMatches<'static>,
}
Expand description
The core config struct used within Brix’s lifecycle. Mostly the direct output of the CLI args and flags, but includes some additional properties as well.
Fields§
§language: String
§config_name: String
§project: String
§module: String
§config_dir: Option<PathBuf>
§workdir: PathBuf
§home_dir: Option<PathBuf>
§log_level: LevelFilter
§raw_matches: ArgMatches<'static>
Implementations§
Trait Implementations§
Auto Trait Implementations§
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