pub struct InstallResult {
pub skill: String,
pub target: InstallTarget,
pub path: PathBuf,
pub before: State,
pub action: Action,
pub reason: Option<String>,
}Expand description
The outcome for one skill at one destination.
Fields§
§skill: StringThe skill’s name.
target: InstallTargetThe destination this row is about.
path: PathBufThe skill’s own directory inside InstallTarget::dir.
before: StateThe state found at InstallResult::path.
action: ActionWhat was done.
reason: Option<String>Why nothing was done.
Trait Implementations§
Source§impl Clone for InstallResult
impl Clone for InstallResult
Auto Trait Implementations§
impl !RefUnwindSafe for InstallResult
impl !UnwindSafe for InstallResult
impl Freeze for InstallResult
impl Send for InstallResult
impl Sync for InstallResult
impl Unpin for InstallResult
impl UnsafeUnpin for InstallResult
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