pub struct DownloadRequest {
pub tag: Option<String>,
pub kind: TagKind,
pub progress_wrapper: Box<dyn ReadProgressWrapper>,
pub download_checksum: bool,
}
Expand description
Data required to perform a download requests against the GitHub API for a GE version.
The information in this struct is used to perform various requests against the GitHub API to download the assets of a GE version release.
Fields§
§tag: Option<String>
The GitHub release to download. If the tag
is None
the latest version is assumed.
kind: TagKind
The GE version kind (GE Proton / Wine GE).
progress_wrapper: Box<dyn ReadProgressWrapper>
Wrapper to track the download progress.
download_checksum: bool
Should the checksum file be downloaded.
Implementations§
Auto Trait Implementations§
impl Freeze for DownloadRequest
impl !RefUnwindSafe for DownloadRequest
impl !Send for DownloadRequest
impl !Sync for DownloadRequest
impl Unpin for DownloadRequest
impl !UnwindSafe for DownloadRequest
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