pub struct Crate {Show 18 fields
pub categories: Vec<String>,
pub created_at: DateTime<Utc>,
pub description: String,
pub documentation: Option<Url>,
pub downloads: u64,
pub exact_match: bool,
pub homepage: Option<Url>,
pub id: String,
pub keywords: Vec<String>,
pub links: CrateLinks,
pub max_stable_version: String,
pub max_version: String,
pub name: String,
pub newest_version: String,
pub recent_downloads: Option<u64>,
pub repository: Option<Url>,
pub updated_at: DateTime<Utc>,
pub versions: Vec<u64>,
}
Expand description
Base crate data
Fields§
§categories: Vec<String>
§created_at: DateTime<Utc>
§description: String
§documentation: Option<Url>
§downloads: u64
§exact_match: bool
§homepage: Option<Url>
§id: String
§keywords: Vec<String>
§links: CrateLinks
§max_stable_version: String
§max_version: String
§name: String
§newest_version: String
§recent_downloads: Option<u64>
§repository: Option<Url>
§updated_at: DateTime<Utc>
§versions: Vec<u64>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Crate
impl<'de> Deserialize<'de> for Crate
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 Ord for Crate
impl Ord for Crate
Source§impl PartialOrd for Crate
impl PartialOrd for Crate
impl Eq for Crate
impl StructuralPartialEq for Crate
Auto Trait Implementations§
impl Freeze for Crate
impl RefUnwindSafe for Crate
impl Send for Crate
impl Sync for Crate
impl Unpin for Crate
impl UnwindSafe for Crate
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.