[][src]Struct cli::types::GlobalConfig

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>,

Holds configuration info for cargo-make


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


impl GlobalConfig[src]

pub fn new() -> GlobalConfig[src]

Returns new instance

Trait Implementations

impl Clone for GlobalConfig[src]

impl Debug for GlobalConfig[src]

impl Default for GlobalConfig[src]

impl<'de> Deserialize<'de> for GlobalConfig[src]

impl Serialize for GlobalConfig[src]

Auto Trait Implementations

impl RefUnwindSafe for GlobalConfig

impl Send for GlobalConfig

impl Sync for GlobalConfig

impl Unpin for GlobalConfig

impl UnwindSafe for GlobalConfig

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,