pub struct Download {
pub status: u16,
pub headers: Vec<(String, String)>,
pub bytes_written: u64,
}Expand description
The result of a fetch_to_file download (the body went to disk, not memory).
Fields§
§status: u16§headers: Vec<(String, String)>§bytes_written: u64Trait Implementations§
Auto Trait Implementations§
impl Forget for Download
impl Freeze for Download
impl Move for Download
impl RefUnwindSafe for Download
impl Send for Download
impl Sync for Download
impl Unpin for Download
impl UnsafeUnpin for Download
impl UnwindSafe for Download
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