pub struct FetchedPackage {
pub tarball_path: PathBuf,
pub checksum: String,
pub meta: VersionMetaResponse,
}Expand description
Result of NetworkRegistry::fetch_package.
Fields§
§tarball_path: PathBufPath to the verified tarball in the cache directory.
checksum: StringCanonicalized checksum (bare hex, lowercased) recorded for the lockfile.
meta: VersionMetaResponseFull metadata response from the registry.
Trait Implementations§
Source§impl Clone for FetchedPackage
impl Clone for FetchedPackage
Source§fn clone(&self) -> FetchedPackage
fn clone(&self) -> FetchedPackage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FetchedPackage
impl RefUnwindSafe for FetchedPackage
impl Send for FetchedPackage
impl Sync for FetchedPackage
impl Unpin for FetchedPackage
impl UnsafeUnpin for FetchedPackage
impl UnwindSafe for FetchedPackage
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