pub struct AddOutcome {
pub source: Source,
pub skills: Vec<Skill>,
pub selected: Vec<Skill>,
pub installed: Vec<InstallSuccess>,
pub failed: Vec<InstallFailure>,
pub list_only: bool,
}Expand description
Result of Manager::add.
Carries the full picture of an add operation: what was discovered, what was selected, and which skills were installed into the canonical dir.
Fields§
§source: SourceThe parsed source.
skills: Vec<Skill>All discovered skills.
selected: Vec<Skill>Selected skills (empty when list_only).
installed: Vec<InstallSuccess>Successfully installed skills.
failed: Vec<InstallFailure>Failed installations.
list_only: boolWhether this was a --list request.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AddOutcome
impl RefUnwindSafe for AddOutcome
impl Send for AddOutcome
impl Sync for AddOutcome
impl Unpin for AddOutcome
impl UnsafeUnpin for AddOutcome
impl UnwindSafe for AddOutcome
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