pub struct DownloadMeta {
pub status: u16,
pub status_text: String,
pub headers: Vec<(String, String)>,
pub final_url: String,
pub bytes_written: u64,
}Expand description
Body was streamed to the caller’s writer; only metadata survives.
Fields§
§status: u16§status_text: String§headers: Vec<(String, String)>§final_url: String§bytes_written: u64Trait Implementations§
Source§impl Clone for DownloadMeta
impl Clone for DownloadMeta
Auto Trait Implementations§
impl Freeze for DownloadMeta
impl RefUnwindSafe for DownloadMeta
impl Send for DownloadMeta
impl Sync for DownloadMeta
impl Unpin for DownloadMeta
impl UnsafeUnpin for DownloadMeta
impl UnwindSafe for DownloadMeta
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