pub struct DownloadOptions {
pub range: Option<ByteRange>,
pub verify_checksum: bool,
pub expected_checksum: Option<String>,
pub retry_config: Option<RetryConfig>,
}Expand description
Download options
Fields§
§range: Option<ByteRange>Byte range for download
verify_checksum: boolVerify checksum after download
expected_checksum: Option<String>Expected checksum
retry_config: Option<RetryConfig>Retry configuration
Trait Implementations§
Source§impl Clone for DownloadOptions
impl Clone for DownloadOptions
Source§impl Debug for DownloadOptions
impl Debug for DownloadOptions
Auto Trait Implementations§
impl Freeze for DownloadOptions
impl RefUnwindSafe for DownloadOptions
impl Send for DownloadOptions
impl Sync for DownloadOptions
impl Unpin for DownloadOptions
impl UnsafeUnpin for DownloadOptions
impl UnwindSafe for DownloadOptions
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