pub struct InstallResult {
pub ok: bool,
pub slug: String,
pub version: String,
pub target_dir: PathBuf,
pub changelog: Option<String>,
}Expand description
Installation result returned to callers.
Fields§
§ok: bool§slug: String§version: String§target_dir: PathBuf§changelog: Option<String>Trait Implementations§
Source§impl Clone for InstallResult
impl Clone for InstallResult
Source§fn clone(&self) -> InstallResult
fn clone(&self) -> InstallResult
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 InstallResult
impl Debug for InstallResult
Auto Trait Implementations§
impl Freeze for InstallResult
impl RefUnwindSafe for InstallResult
impl Send for InstallResult
impl Sync for InstallResult
impl Unpin for InstallResult
impl UnsafeUnpin 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