pub struct SelectionRequest {
pub skills: Vec<String>,
pub all: bool,
}Expand description
Request for [Manager::remove], [Manager::disable] and [Manager::enable]
— the three commands that select installed skills by name.
Default is a no-op that only reports the currently selectable names — set
skills or all to actually apply anything.
Fields§
§skills: Vec<String>Skill names to select (the CLI merges positional args and --skill here).
all: boolSelect every currently available skill (all installed for remove/disable, all disabled for enable).
Trait Implementations§
Source§impl Clone for SelectionRequest
impl Clone for SelectionRequest
Source§impl Debug for SelectionRequest
impl Debug for SelectionRequest
Auto Trait Implementations§
impl Freeze for SelectionRequest
impl RefUnwindSafe for SelectionRequest
impl Send for SelectionRequest
impl Sync for SelectionRequest
impl Unpin for SelectionRequest
impl UnsafeUnpin for SelectionRequest
impl UnwindSafe for SelectionRequest
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