pub struct DownloadTask {
pub id: Uuid,
pub url: String,
pub title: String,
pub platform: String,
pub status: DownloadStatus,
pub output_dir: PathBuf,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}Fields§
§id: Uuid§url: String§title: String§platform: String§status: DownloadStatus§output_dir: PathBuf§created_at: DateTime<Utc>§updated_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for DownloadTask
impl Clone for DownloadTask
Source§fn clone(&self) -> DownloadTask
fn clone(&self) -> DownloadTask
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 moreSource§impl Debug for DownloadTask
impl Debug for DownloadTask
Source§impl<'de> Deserialize<'de> for DownloadTask
impl<'de> Deserialize<'de> for DownloadTask
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 DownloadTask
impl RefUnwindSafe for DownloadTask
impl Send for DownloadTask
impl Sync for DownloadTask
impl Unpin for DownloadTask
impl UnsafeUnpin 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