pub struct EnableRequest {
pub skills: Vec<String>,
pub global: bool,
pub all: bool,
}Expand description
Request for Manager::enable.
Default is a no-op that only reports disabled names — set skills or all to
actually enable anything.
Fields§
§skills: Vec<String>Skill names to enable (the CLI merges positional args and --skill here).
global: boolEnable global skills instead of project skills.
all: boolEnable all currently disabled skills.
Trait Implementations§
Source§impl Clone for EnableRequest
impl Clone for EnableRequest
Source§fn clone(&self) -> EnableRequest
fn clone(&self) -> EnableRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EnableRequest
impl Debug for EnableRequest
Source§impl Default for EnableRequest
impl Default for EnableRequest
Source§fn default() -> EnableRequest
fn default() -> EnableRequest
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EnableRequest
impl RefUnwindSafe for EnableRequest
impl Send for EnableRequest
impl Sync for EnableRequest
impl Unpin for EnableRequest
impl UnsafeUnpin for EnableRequest
impl UnwindSafe for EnableRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more