pub struct Installed {
pub import_to_dist: FxHashMap<String, String>,
pub dists: FxHashSet<String>,
pub versions: FxHashMap<String, String>,
}Fields§
§import_to_dist: FxHashMap<String, String>import top-level name → normalized distribution name.
dists: FxHashSet<String>All installed (normalized) distribution names.
versions: FxHashMap<String, String>normalized distribution name → installed version (from dist-info METADATA). Lets supply-chain resolve a declared range to the concrete version that is actually installed, for precise advisory matching.
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more