pub struct PackageStats {
pub install_count: u64,
pub last_installed: u64,
pub last_updated: u64,
pub total_downloads: u64,
}Expand description
Per-package usage and installation statistics.
Fields§
§install_count: u64Number of times this package has been installed
last_installed: u64Timestamp of the most recent installation (seconds since epoch)
last_updated: u64Timestamp of the most recent update (seconds since epoch)
total_downloads: u64Total number of times the package has been downloaded
Implementations§
Source§impl PackageStats
impl PackageStats
Trait Implementations§
Source§impl Clone for PackageStats
impl Clone for PackageStats
Source§fn clone(&self) -> PackageStats
fn clone(&self) -> PackageStats
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PackageStats
impl Debug for PackageStats
Auto Trait Implementations§
impl Freeze for PackageStats
impl RefUnwindSafe for PackageStats
impl Send for PackageStats
impl Sync for PackageStats
impl Unpin for PackageStats
impl UnwindSafe for PackageStats
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)