Struct crates_io_api::Crate [−][src]
pub struct Crate {Show 17 fields
pub id: String,
pub name: String,
pub description: Option<String>,
pub license: Option<String>,
pub documentation: Option<String>,
pub homepage: Option<String>,
pub repository: Option<String>,
pub downloads: u64,
pub recent_downloads: Option<u64>,
pub categories: Option<Vec<String>>,
pub keywords: Option<Vec<String>>,
pub versions: Option<Vec<u64>>,
pub max_version: String,
pub links: CrateLinks,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub exact_match: Option<bool>,
}
Fields
id: String
name: String
description: Option<String>
license: Option<String>
documentation: Option<String>
homepage: Option<String>
repository: Option<String>
downloads: u64
recent_downloads: Option<u64>
categories: Option<Vec<String>>
keywords: Option<Vec<String>>
versions: Option<Vec<u64>>
max_version: String
links: CrateLinks
created_at: DateTime<Utc>
updated_at: DateTime<Utc>
exact_match: Option<bool>
Trait Implementations
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 RefUnwindSafe for Crate
impl UnwindSafe for Crate
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more