pub struct UpdateFileDownloads {
pub total_size: i64,
pub total_count: i32,
pub downloaded_size: i64,
}
Expand description
The state of the file download list has changed
Fields§
§total_size: i64
Total size of files in the file download list, in bytes
total_count: i32
Total number of files in the file download list
downloaded_size: i64
Total downloaded size of files in the file download list, in bytes
Trait Implementations§
Source§impl Clone for UpdateFileDownloads
impl Clone for UpdateFileDownloads
Source§fn clone(&self) -> UpdateFileDownloads
fn clone(&self) -> UpdateFileDownloads
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 UpdateFileDownloads
impl Debug for UpdateFileDownloads
Source§impl Default for UpdateFileDownloads
impl Default for UpdateFileDownloads
Source§fn default() -> UpdateFileDownloads
fn default() -> UpdateFileDownloads
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateFileDownloads
impl<'de> Deserialize<'de> for UpdateFileDownloads
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 UpdateFileDownloads
impl PartialEq for UpdateFileDownloads
Source§impl Serialize for UpdateFileDownloads
impl Serialize for UpdateFileDownloads
impl StructuralPartialEq for UpdateFileDownloads
Auto Trait Implementations§
impl Freeze for UpdateFileDownloads
impl RefUnwindSafe for UpdateFileDownloads
impl Send for UpdateFileDownloads
impl Sync for UpdateFileDownloads
impl Unpin for UpdateFileDownloads
impl UnwindSafe for UpdateFileDownloads
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