#[non_exhaustive]pub struct Resolution {
pub urls: HashMap<String, String>,
pub unresolved: Vec<String>,
}Expand description
The outcome of DependencyGraph::resolve_report: the packages that
resolved to a download, plus the names that did not.
#[non_exhaustive]: fields may be added as resolution reporting grows, so
downstream code cannot construct or exhaustively destructure this directly.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.urls: HashMap<String, String>Map of Owner-Name-Version.zip filename to download URL for every package
(requested or dependency) that resolved to a version in the index.
unresolved: Vec<String>The Owner-Name identifiers that were requested (directly or as a
dependency) but not present in the index, sorted and deduplicated. A
non-empty list means the resulting install is incomplete.
Trait Implementations§
Source§impl Clone for Resolution
impl Clone for Resolution
Source§impl Debug for Resolution
impl Debug for Resolution
Auto Trait Implementations§
impl Freeze for Resolution
impl RefUnwindSafe for Resolution
impl Send for Resolution
impl Sync for Resolution
impl Unpin for Resolution
impl UnsafeUnpin for Resolution
impl UnwindSafe for Resolution
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