pub struct CrateInfo {
pub latest: String,
pub downloads: String,
pub total_downloads: u64,
pub versions: u64,
pub license: String,
pub created_at: String,
pub updated_at: String,
}Expand description
Represents detailed statistics and metadata for a specific crate.
Fields§
§latest: StringThe most recent version number (e.g., “1.0.2”).
downloads: StringA formatted string of downloads (e.g., “1.5k” or “2.3M”).
total_downloads: u64The exact numeric count of total downloads.
versions: u64The total number of versions published to crates.io.
license: StringThe license identifier (e.g., “MIT” or “Apache-2.0”).
created_at: StringThe date the crate was first created.
updated_at: StringThe date of the last metadata update.
Auto Trait Implementations§
impl Freeze for CrateInfo
impl RefUnwindSafe for CrateInfo
impl Send for CrateInfo
impl Sync for CrateInfo
impl Unpin for CrateInfo
impl UnsafeUnpin for CrateInfo
impl UnwindSafe for CrateInfo
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