pub struct DownloadedFile {
pub kind: DownloadFileKind,
pub path: PathBuf,
pub bytes_written: u64,
pub resumed_from: u64,
}Fields§
§kind: DownloadFileKind§path: PathBuf§bytes_written: u64§resumed_from: u64Trait 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 moreSource§impl Debug for DownloadedFile
impl Debug for DownloadedFile
Source§impl<'de> Deserialize<'de> for DownloadedFile
impl<'de> Deserialize<'de> for DownloadedFile
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
impl Eq for DownloadedFile
Source§impl PartialEq for DownloadedFile
impl PartialEq for DownloadedFile
Source§fn eq(&self, other: &DownloadedFile) -> bool
fn eq(&self, other: &DownloadedFile) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DownloadedFile
impl Serialize for DownloadedFile
impl StructuralPartialEq for DownloadedFile
Auto 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