Struct cli::types::GlobalConfig
source · 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>,
}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
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<'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
Auto Trait Implementations§
impl Freeze for GlobalConfig
impl RefUnwindSafe for GlobalConfig
impl Send for GlobalConfig
impl Sync for GlobalConfig
impl Unpin for GlobalConfig
impl UnwindSafe for GlobalConfig
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)