Struct crates_io_api::CrateResponse
source · pub struct CrateResponse {
pub categories: Vec<Category>,
pub crate_data: Crate,
pub keywords: Vec<Keyword>,
pub versions: Vec<Version>,
}
Expand description
Full data for a crate.
Fields§
§categories: Vec<Category>
§crate_data: Crate
§keywords: Vec<Keyword>
§versions: Vec<Version>
Trait Implementations§
source§impl Clone for CrateResponse
impl Clone for CrateResponse
source§fn clone(&self) -> CrateResponse
fn clone(&self) -> CrateResponse
Returns a copy 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 CrateResponse
impl Debug for CrateResponse
source§impl<'de> Deserialize<'de> for CrateResponse
impl<'de> Deserialize<'de> for CrateResponse
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 CrateResponse
impl RefUnwindSafe for CrateResponse
impl Send for CrateResponse
impl Sync for CrateResponse
impl Unpin for CrateResponse
impl UnwindSafe for CrateResponse
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