pub struct PackageList {
pub id: PackageIdSpec,
pub files: BTreeMap<PathBuf, PackageFile>,
}
Expand description
File information of a package archive generated by cargo package --list
.
Fields§
§id: PackageIdSpec
The Package ID Spec of the package.
files: BTreeMap<PathBuf, PackageFile>
A map of relative paths in the archive to their detailed file information.
Trait Implementations§
Source§impl Debug for PackageList
impl Debug for PackageList
Auto Trait Implementations§
impl Freeze for PackageList
impl RefUnwindSafe for PackageList
impl Send for PackageList
impl Sync for PackageList
impl Unpin for PackageList
impl UnwindSafe for PackageList
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