pub struct DownloadHandle {
pub url: String,
pub headers: HashMap<String, String>,
pub expected_hash: u64,
pub size_hint: Option<u64>,
}Expand description
A resolved download ready for fetching.
Fields§
§url: String§headers: HashMap<String, String>§expected_hash: u64§size_hint: Option<u64>Trait Implementations§
Source§impl Clone for DownloadHandle
impl Clone for DownloadHandle
Source§fn clone(&self) -> DownloadHandle
fn clone(&self) -> DownloadHandle
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 DownloadHandle
impl RefUnwindSafe for DownloadHandle
impl Send for DownloadHandle
impl Sync for DownloadHandle
impl Unpin for DownloadHandle
impl UnsafeUnpin for DownloadHandle
impl UnwindSafe for DownloadHandle
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