pub struct BinaryPackageFetch<'a> {
pub control_file: BinaryPackageControlFile<'a>,
pub path: String,
pub size: u64,
pub digest: ContentDigest,
}Expand description
Describes how to fetch a binary package from a repository.
Fields§
§control_file: BinaryPackageControlFile<'a>The binary package control paragraph from which this entry came.
path: StringThe relative path of this binary package.
Corresponds to the Filename field.
size: u64The expected size of the retrieved file.
digest: ContentDigestThe expected content digest of the retrieved file.
Trait Implementations§
Source§impl<'a> Clone for BinaryPackageFetch<'a>
impl<'a> Clone for BinaryPackageFetch<'a>
Source§fn clone(&self) -> BinaryPackageFetch<'a>
fn clone(&self) -> BinaryPackageFetch<'a>
Returns a duplicate 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<'a> Freeze for BinaryPackageFetch<'a>
impl<'a> RefUnwindSafe for BinaryPackageFetch<'a>
impl<'a> Send for BinaryPackageFetch<'a>
impl<'a> Sync for BinaryPackageFetch<'a>
impl<'a> Unpin for BinaryPackageFetch<'a>
impl<'a> UnwindSafe for BinaryPackageFetch<'a>
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