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

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]

pub fn new() -> GlobalConfig[src]

Returns new instance

Trait Implementations

impl Clone for GlobalConfig[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for GlobalConfig[src]

impl Serialize for GlobalConfig[src]

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

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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