Struct cargo_make::types::GlobalConfig [−][src]
pub struct GlobalConfig { pub file_name: Option<String>, pub log_level: Option<String>, pub default_task_name: Option<String>, pub update_check_minimum_interval: Option<String>, pub search_project_root: Option<bool>, }
Holds configuration info for cargo-make
Fields
file_name: Option<String>
File from which the global config was loaded from
log_level: Option<String>
Default log level
default_task_name: Option<String>
Default task name
update_check_minimum_interval: Option<String>
Update check minimum time from the previous check (always, daily, weekly, monthly)
search_project_root: Option<bool>
True to search for project root in parent directories if current cwd is not a project root
Methods
impl GlobalConfig
[src]
impl GlobalConfig
pub fn new() -> GlobalConfig
[src]
pub fn new() -> GlobalConfig
Returns new instance
Trait Implementations
impl Debug for GlobalConfig
[src]
impl Debug for GlobalConfig
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for GlobalConfig
[src]
impl Clone for GlobalConfig
fn clone(&self) -> GlobalConfig
[src]
fn clone(&self) -> GlobalConfig
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for GlobalConfig
impl Send for GlobalConfig
impl Sync for GlobalConfig
impl Sync for GlobalConfig