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

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

Holds properties to modify the core tasks

Fields

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: :: for example default::build

Methods

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]

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

Performs copy-assignment from source. Read more

impl Debug for ModifyConfig[src]

impl Serialize for ModifyConfig[src]

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

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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]