Struct warg_client::PackageDownload
source · pub struct PackageDownload {
pub version: Version,
pub digest: AnyHash,
pub path: PathBuf,
}Expand description
Represents information about a downloaded package.
Fields§
§version: VersionThe package version that was downloaded.
digest: AnyHashThe digest of the package contents.
path: PathBufThe path to the downloaded package contents.
Trait Implementations§
source§impl Clone for PackageDownload
impl Clone for PackageDownload
source§fn clone(&self) -> PackageDownload
fn clone(&self) -> PackageDownload
Returns a copy of the value. Read more
1.0.0 · 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 RefUnwindSafe for PackageDownload
impl Send for PackageDownload
impl Sync for PackageDownload
impl Unpin for PackageDownload
impl UnwindSafe for PackageDownload
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