Struct cli::types::ModifyConfig
source · [−]Expand description
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: namespace::name for example default::build
Implementations
sourceimpl ModifyConfig
impl ModifyConfig
sourcepub fn is_modifications_defined(self: &ModifyConfig) -> bool
pub fn is_modifications_defined(self: &ModifyConfig) -> bool
Returns true if config modifications is needed based on the current state
sourcepub fn get_namespace_prefix(self: &ModifyConfig) -> String
pub fn get_namespace_prefix(self: &ModifyConfig) -> String
Returns the namespace prefix for task names
Trait Implementations
sourceimpl Clone for ModifyConfig
impl Clone for ModifyConfig
sourcefn clone(&self) -> ModifyConfig
fn clone(&self) -> ModifyConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ModifyConfig
impl Debug for ModifyConfig
sourceimpl<'de> Deserialize<'de> for ModifyConfig
impl<'de> Deserialize<'de> for ModifyConfig
sourcefn 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
sourceimpl Serialize for ModifyConfig
impl Serialize for ModifyConfig
Auto Trait Implementations
impl RefUnwindSafe for ModifyConfig
impl Send for ModifyConfig
impl Sync for ModifyConfig
impl Unpin for ModifyConfig
impl UnwindSafe for ModifyConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more