pub struct ManagedDownload {
pub id: usize,
pub url: String,
pub dest: PathBuf,
pub mod_name: Option<String>,
pub state: DownloadState,
}Expand description
Tracks an active or completed download.
Fields§
§id: usize§url: String§dest: PathBuf§mod_name: Option<String>§state: DownloadStateTrait Implementations§
Source§impl Clone for ManagedDownload
impl Clone for ManagedDownload
Source§fn clone(&self) -> ManagedDownload
fn clone(&self) -> ManagedDownload
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ManagedDownload
impl RefUnwindSafe for ManagedDownload
impl Send for ManagedDownload
impl Sync for ManagedDownload
impl Unpin for ManagedDownload
impl UnsafeUnpin for ManagedDownload
impl UnwindSafe for ManagedDownload
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