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
Source§impl Debug for DownloadMeta
impl Debug for DownloadMeta
Source§impl<'de> Deserialize<'de> for DownloadMeta
impl<'de> Deserialize<'de> for DownloadMeta
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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