Struct crates_io_api::ExtraDownloads
source · pub struct ExtraDownloads {
pub date: NaiveDate,
pub downloads: u64,
}
Expand description
Crate downloads that don’t fit a particular date. Only required for old download data.
Fields§
§date: NaiveDate
§downloads: u64
Trait Implementations§
source§impl Clone for ExtraDownloads
impl Clone for ExtraDownloads
source§fn clone(&self) -> ExtraDownloads
fn clone(&self) -> ExtraDownloads
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 ExtraDownloads
impl Debug for ExtraDownloads
source§impl<'de> Deserialize<'de> for ExtraDownloads
impl<'de> Deserialize<'de> for ExtraDownloads
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 ExtraDownloads
impl RefUnwindSafe for ExtraDownloads
impl Send for ExtraDownloads
impl Sync for ExtraDownloads
impl Unpin for ExtraDownloads
impl UnwindSafe for ExtraDownloads
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