pub struct CrateIntel {
pub name: String,
pub latest_version: String,
pub downloads: u64,
pub recent_downloads: Option<u64>,
pub last_updated: String,
pub repository_url: Option<String>,
pub description: Option<String>,
}Expand description
Live metadata for a single crate.
Fields§
§name: String§latest_version: String§downloads: u64§recent_downloads: Option<u64>§last_updated: String§repository_url: Option<String>§description: Option<String>Trait Implementations§
Source§impl Clone for CrateIntel
impl Clone for CrateIntel
Source§fn clone(&self) -> CrateIntel
fn clone(&self) -> CrateIntel
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 CrateIntel
impl Debug for CrateIntel
Source§impl<'de> Deserialize<'de> for CrateIntel
impl<'de> Deserialize<'de> for CrateIntel
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 CrateIntel
impl RefUnwindSafe for CrateIntel
impl Send for CrateIntel
impl Sync for CrateIntel
impl Unpin for CrateIntel
impl UnsafeUnpin for CrateIntel
impl UnwindSafe for CrateIntel
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