pub struct DownloadedFileCounts {
pub active_count: i32,
pub paused_count: i32,
pub completed_count: i32,
}
Expand description
Contains number of being downloaded and recently downloaded files found
Fields§
§active_count: i32
Number of active file downloads found, including paused
paused_count: i32
Number of paused file downloads found
completed_count: i32
Number of completed file downloads found
Trait Implementations§
Source§impl Clone for DownloadedFileCounts
impl Clone for DownloadedFileCounts
Source§fn clone(&self) -> DownloadedFileCounts
fn clone(&self) -> DownloadedFileCounts
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 moreSource§impl Debug for DownloadedFileCounts
impl Debug for DownloadedFileCounts
Source§impl Default for DownloadedFileCounts
impl Default for DownloadedFileCounts
Source§fn default() -> DownloadedFileCounts
fn default() -> DownloadedFileCounts
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DownloadedFileCounts
impl<'de> Deserialize<'de> for DownloadedFileCounts
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
Source§impl PartialEq for DownloadedFileCounts
impl PartialEq for DownloadedFileCounts
Source§impl Serialize for DownloadedFileCounts
impl Serialize for DownloadedFileCounts
impl StructuralPartialEq for DownloadedFileCounts
Auto Trait Implementations§
impl Freeze for DownloadedFileCounts
impl RefUnwindSafe for DownloadedFileCounts
impl Send for DownloadedFileCounts
impl Sync for DownloadedFileCounts
impl Unpin for DownloadedFileCounts
impl UnwindSafe for DownloadedFileCounts
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