pub struct DownloadTask {
pub url: String,
pub path: PathBuf,
}
Fields§
§url: String
§path: PathBuf
Trait Implementations§
Source§impl Clone for DownloadTask
impl Clone for DownloadTask
Source§fn clone(&self) -> DownloadTask
fn clone(&self) -> DownloadTask
Returns a copy 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 moreSource§impl Debug for DownloadTask
impl Debug for DownloadTask
Source§impl Into<DownloadTask> for File
impl Into<DownloadTask> for File
Source§fn into(self) -> DownloadTask
fn into(self) -> DownloadTask
Converts this type into the (usually inferred) input type.
Auto Trait Implementations§
impl Freeze for DownloadTask
impl RefUnwindSafe for DownloadTask
impl Send for DownloadTask
impl Sync for DownloadTask
impl Unpin for DownloadTask
impl UnwindSafe for DownloadTask
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