pub struct InstallResult {
pub name: String,
pub installed: bool,
pub downloaded: bool,
pub error: Option<String>,
}Expand description
Result of installing a package
Fields§
§name: StringPackage name
installed: boolWhether it was installed (false if already cached)
downloaded: boolWhether it was cached (downloaded this run)
error: Option<String>Error message if failed
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InstallResult
impl RefUnwindSafe for InstallResult
impl Send for InstallResult
impl Sync for InstallResult
impl Unpin for InstallResult
impl UnwindSafe 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