pub struct InstalledPackage {
pub name: String,
pub version: Option<Version>,
pub path: PathBuf,
pub provides: Vec<PluginId>,
}Fields§
§name: String§version: Option<Version>Known for versioned installs; flat ones report theirs in the handshake.
path: PathBuf§provides: Vec<PluginId>Empty when a flat package executable can’t be asked (it doesn’t start).
Implementations§
Trait Implementations§
Source§impl Clone for InstalledPackage
impl Clone for InstalledPackage
Source§impl Debug for InstalledPackage
impl Debug for InstalledPackage
impl Eq for InstalledPackage
Source§impl PartialEq for InstalledPackage
impl PartialEq for InstalledPackage
impl StructuralPartialEq for InstalledPackage
Auto Trait Implementations§
impl Freeze for InstalledPackage
impl RefUnwindSafe for InstalledPackage
impl Send for InstalledPackage
impl Sync for InstalledPackage
impl Unpin for InstalledPackage
impl UnsafeUnpin for InstalledPackage
impl UnwindSafe for InstalledPackage
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.