pub struct DownloadStats {
pub path: PathBuf,
pub bytes_written: u64,
}Fields§
§path: PathBuf§bytes_written: u64Trait Implementations§
Source§impl Clone for DownloadStats
impl Clone for DownloadStats
Source§fn clone(&self) -> DownloadStats
fn clone(&self) -> DownloadStats
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 DownloadStats
impl Debug for DownloadStats
Source§impl<'de> Deserialize<'de> for DownloadStats
impl<'de> Deserialize<'de> for DownloadStats
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 DownloadStats
impl RefUnwindSafe for DownloadStats
impl Send for DownloadStats
impl Sync for DownloadStats
impl Unpin for DownloadStats
impl UnsafeUnpin for DownloadStats
impl UnwindSafe for DownloadStats
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