pub struct BatchDownloadJob {
pub id: String,
pub url: String,
pub destination: PathBuf,
pub checksum: Option<[u8; 32]>,
pub dependencies: Vec<String>,
pub options: Option<FetchOptions>,
}Expand description
A job in a batch download.
Fields§
§id: StringUnique identifier for this job
url: StringURL to download from
destination: PathBufDestination path
checksum: Option<[u8; 32]>Optional checksum for verification
dependencies: Vec<String>Jobs that must complete before this one can start
options: Option<FetchOptions>Fetch options specific to this job
Trait Implementations§
Source§impl Clone for BatchDownloadJob
impl Clone for BatchDownloadJob
Source§fn clone(&self) -> BatchDownloadJob
fn clone(&self) -> BatchDownloadJob
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 Freeze for BatchDownloadJob
impl !RefUnwindSafe for BatchDownloadJob
impl Send for BatchDownloadJob
impl Sync for BatchDownloadJob
impl Unpin for BatchDownloadJob
impl UnsafeUnpin for BatchDownloadJob
impl !UnwindSafe for BatchDownloadJob
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