pub struct VersionDownload {
pub version: String,
pub downloads: u64,
pub date: DateTime<Utc>,
}
Expand description
Download stats for a specific version
Fields§
§version: String
§downloads: u64
§date: DateTime<Utc>
Trait Implementations§
Source§impl Clone for VersionDownload
impl Clone for VersionDownload
Source§fn clone(&self) -> VersionDownload
fn clone(&self) -> VersionDownload
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 VersionDownload
impl Debug for VersionDownload
Source§impl<'de> Deserialize<'de> for VersionDownload
impl<'de> Deserialize<'de> for VersionDownload
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 VersionDownload
impl PartialEq for VersionDownload
Source§impl Serialize for VersionDownload
impl Serialize for VersionDownload
impl StructuralPartialEq for VersionDownload
Auto Trait Implementations§
impl Freeze for VersionDownload
impl RefUnwindSafe for VersionDownload
impl Send for VersionDownload
impl Sync for VersionDownload
impl Unpin for VersionDownload
impl UnwindSafe for VersionDownload
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