pub struct UpdateFileDownload {
pub file_id: i32,
pub complete_date: i32,
pub is_paused: bool,
pub counts: DownloadedFileCounts,
}
Expand description
A file download was changed. This update is sent only after file download list is loaded for the first time
Fields§
§file_id: i32
File identifier
complete_date: i32
Point in time (Unix timestamp) when the file downloading was completed; 0 if the file downloading isn’t completed
is_paused: bool
True, if downloading of the file is paused
counts: DownloadedFileCounts
New number of being downloaded and recently downloaded files found
Trait Implementations§
Source§impl Clone for UpdateFileDownload
impl Clone for UpdateFileDownload
Source§fn clone(&self) -> UpdateFileDownload
fn clone(&self) -> UpdateFileDownload
Returns a copy 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 UpdateFileDownload
impl Debug for UpdateFileDownload
Source§impl Default for UpdateFileDownload
impl Default for UpdateFileDownload
Source§fn default() -> UpdateFileDownload
fn default() -> UpdateFileDownload
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateFileDownload
impl<'de> Deserialize<'de> for UpdateFileDownload
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 UpdateFileDownload
impl PartialEq for UpdateFileDownload
Source§impl Serialize for UpdateFileDownload
impl Serialize for UpdateFileDownload
impl StructuralPartialEq for UpdateFileDownload
Auto Trait Implementations§
impl Freeze for UpdateFileDownload
impl RefUnwindSafe for UpdateFileDownload
impl Send for UpdateFileDownload
impl Sync for UpdateFileDownload
impl Unpin for UpdateFileDownload
impl UnwindSafe for UpdateFileDownload
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