Struct crates_io_api::FullCrate
source · pub struct FullCrate {Show 19 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 total_downloads: u64,
pub recent_downloads: Option<u64>,
pub max_version: String,
pub max_stable_version: Option<String>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub categories: Vec<Category>,
pub keywords: Vec<Keyword>,
pub downloads: CrateDownloads,
pub owners: Vec<User>,
pub reverse_dependencies: ReverseDependencies,
pub versions: Vec<FullVersion>,
}
Expand description
Complete information for a crate.
Fields§
§id: String
§name: String
§description: Option<String>
§license: Option<String>
§documentation: Option<String>
§homepage: Option<String>
§repository: Option<String>
§total_downloads: u64
§recent_downloads: Option<u64>
§max_version: String
§max_stable_version: Option<String>
§created_at: DateTime<Utc>
§updated_at: DateTime<Utc>
§categories: Vec<Category>
§keywords: Vec<Keyword>
§downloads: CrateDownloads
§owners: Vec<User>
§reverse_dependencies: ReverseDependencies
§versions: Vec<FullVersion>
Trait Implementations§
source§impl<'de> Deserialize<'de> for FullCrate
impl<'de> Deserialize<'de> for FullCrate
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 FullCrate
impl RefUnwindSafe for FullCrate
impl Send for FullCrate
impl Sync for FullCrate
impl Unpin for FullCrate
impl UnwindSafe for FullCrate
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