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
Source§impl<T> Serialize for T
impl<T> Serialize for T
fn erased_serialize(&self, serializer: &mut dyn Serializer) -> Result<(), Error>
fn do_erased_serialize( &self, serializer: &mut dyn Serializer, ) -> Result<(), ErrorImpl>
impl<T> ErasedDestructor for Twhere
T: 'static,
impl<T> MaybeSendSync for T
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 224 bytes