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§
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
Auto Trait Implementations§
impl Freeze for Crate
impl RefUnwindSafe for Crate
impl Send for Crate
impl Sync for Crate
impl Unpin for Crate
impl UnsafeUnpin 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