Struct crates_io_api::VersionDownloads
source · pub struct VersionDownloads {
pub date: NaiveDate,
pub downloads: u64,
pub version: u64,
}
Expand description
Download data for a single crate version.
Fields§
§date: NaiveDate
§downloads: u64
§version: u64
Trait Implementations§
source§impl Clone for VersionDownloads
impl Clone for VersionDownloads
source§fn clone(&self) -> VersionDownloads
fn clone(&self) -> VersionDownloads
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 VersionDownloads
impl Debug for VersionDownloads
source§impl<'de> Deserialize<'de> for VersionDownloads
impl<'de> Deserialize<'de> for VersionDownloads
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 VersionDownloads
impl RefUnwindSafe for VersionDownloads
impl Send for VersionDownloads
impl Sync for VersionDownloads
impl Unpin for VersionDownloads
impl UnwindSafe for VersionDownloads
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