[][src]Struct cli::types::ModifyConfig

pub struct ModifyConfig {
    pub private: Option<bool>,
    pub namespace: Option<String>,

Holds properties to modify the core tasks


private: Option<bool>

If true, all core tasks will be set to private (default false)

namespace: Option<String>

If set to some value, all core tasks are modified to: namespace::name for example default::build


impl ModifyConfig[src]

pub fn is_modifications_defined(self: &ModifyConfig) -> bool[src]

Returns true if config modifications is needed based on the current state

pub fn get_namespace_prefix(self: &ModifyConfig) -> String[src]

Returns the namespace prefix for task names

Trait Implementations

impl Clone for ModifyConfig[src]

impl Debug for ModifyConfig[src]

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

impl Serialize for ModifyConfig[src]

Auto Trait Implementations

impl RefUnwindSafe for ModifyConfig[src]

impl Send for ModifyConfig[src]

impl Sync for ModifyConfig[src]

impl Unpin for ModifyConfig[src]

impl UnwindSafe for ModifyConfig[src]

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