pub struct Installed {
pub crate_name: String,
pub version: String,
pub dir: PathBuf,
pub library: PathBuf,
pub source: InstallSource,
}Expand description
一次成功安装的产物。
Fields§
§crate_name: String完整 crate 名,如 bmux-plugin-cargo。
version: String实际安装的版本。
dir: PathBuf安装目录。
library: PathBuf落地的 cdylib 路径。
source: InstallSource怎么来的。
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Installed
impl RefUnwindSafe for Installed
impl Send for Installed
impl Sync for Installed
impl Unpin for Installed
impl UnsafeUnpin for Installed
impl UnwindSafe for Installed
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