pub struct DownloadTaskFile {
pub index: i32,
pub name: String,
pub size: i64,
pub progress: f64,
pub selected: bool,
}Expand description
Download task file
Fields§
§index: i32§name: String§size: i64§progress: f64§selected: boolTrait Implementations§
Source§impl Clone for DownloadTaskFile
impl Clone for DownloadTaskFile
Source§fn clone(&self) -> DownloadTaskFile
fn clone(&self) -> DownloadTaskFile
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 DownloadTaskFile
impl Debug for DownloadTaskFile
Source§impl Default for DownloadTaskFile
impl Default for DownloadTaskFile
Source§fn default() -> DownloadTaskFile
fn default() -> DownloadTaskFile
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DownloadTaskFile
impl<'de> Deserialize<'de> for DownloadTaskFile
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 DownloadTaskFile
impl RefUnwindSafe for DownloadTaskFile
impl Send for DownloadTaskFile
impl Sync for DownloadTaskFile
impl Unpin for DownloadTaskFile
impl UnsafeUnpin for DownloadTaskFile
impl UnwindSafe for DownloadTaskFile
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