pub struct DownloadedFile {
pub data: Vec<u8>,
pub content_type: Option<String>,
}Expand description
Downloaded file information
Fields§
§data: Vec<u8>§content_type: Option<String>Trait Implementations§
Source§impl Clone for DownloadedFile
impl Clone for DownloadedFile
Source§fn clone(&self) -> DownloadedFile
fn clone(&self) -> DownloadedFile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DownloadedFile
impl RefUnwindSafe for DownloadedFile
impl Send for DownloadedFile
impl Sync for DownloadedFile
impl Unpin for DownloadedFile
impl UnsafeUnpin for DownloadedFile
impl UnwindSafe for DownloadedFile
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