pub struct UpdateFileRemovedFromDownloads {
pub file_id: i32,
pub counts: DownloadedFileCounts,
}
Expand description
A file was removed from the file download list. This update is sent only after file download list is loaded for the first time
Fields§
§file_id: i32
File identifier
counts: DownloadedFileCounts
New number of being downloaded and recently downloaded files found
Trait Implementations§
Source§impl Clone for UpdateFileRemovedFromDownloads
impl Clone for UpdateFileRemovedFromDownloads
Source§fn clone(&self) -> UpdateFileRemovedFromDownloads
fn clone(&self) -> UpdateFileRemovedFromDownloads
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 Default for UpdateFileRemovedFromDownloads
impl Default for UpdateFileRemovedFromDownloads
Source§fn default() -> UpdateFileRemovedFromDownloads
fn default() -> UpdateFileRemovedFromDownloads
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateFileRemovedFromDownloads
impl<'de> Deserialize<'de> for UpdateFileRemovedFromDownloads
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 UpdateFileRemovedFromDownloads
impl PartialEq for UpdateFileRemovedFromDownloads
Source§fn eq(&self, other: &UpdateFileRemovedFromDownloads) -> bool
fn eq(&self, other: &UpdateFileRemovedFromDownloads) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for UpdateFileRemovedFromDownloads
Auto Trait Implementations§
impl Freeze for UpdateFileRemovedFromDownloads
impl RefUnwindSafe for UpdateFileRemovedFromDownloads
impl Send for UpdateFileRemovedFromDownloads
impl Sync for UpdateFileRemovedFromDownloads
impl Unpin for UpdateFileRemovedFromDownloads
impl UnwindSafe for UpdateFileRemovedFromDownloads
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