Struct cli::types::GlobalConfig
source · pub struct GlobalConfig {
pub file_name: Option<String>,
pub log_level: Option<String>,
pub disable_color: Option<bool>,
pub default_task_name: Option<String>,
pub update_check_minimum_interval: Option<String>,
pub search_project_root: Option<bool>,
}
Expand description
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
disable_color: Option<bool>
Default output coloring
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
Implementations§
source§impl GlobalConfig
impl GlobalConfig
sourcepub fn new() -> GlobalConfig
pub fn new() -> GlobalConfig
Returns new instance
Trait Implementations§
source§impl Clone for GlobalConfig
impl Clone for GlobalConfig
source§fn clone(&self) -> GlobalConfig
fn clone(&self) -> GlobalConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GlobalConfig
impl Debug for GlobalConfig
source§impl Default for GlobalConfig
impl Default for GlobalConfig
source§fn default() -> GlobalConfig
fn default() -> GlobalConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GlobalConfig
impl<'de> Deserialize<'de> for GlobalConfig
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more