pub struct CrateFeaturesResponse {
pub features: Vec<CrateFeature>,
}Expand description
Response body for GET /api/v1/crates/{crate_name}/versions/{version}/features.
Fields§
§features: Vec<CrateFeature>Every selectable feature of the version, default first and the
rest alphabetical.
Trait Implementations§
Source§impl Clone for CrateFeaturesResponse
impl Clone for CrateFeaturesResponse
Source§impl ComposeSchema for CrateFeaturesResponse
impl ComposeSchema for CrateFeaturesResponse
Source§impl Debug for CrateFeaturesResponse
impl Debug for CrateFeaturesResponse
Source§impl<'de> Deserialize<'de> for CrateFeaturesResponse
impl<'de> Deserialize<'de> for CrateFeaturesResponse
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
impl Eq for CrateFeaturesResponse
Source§impl PartialEq for CrateFeaturesResponse
impl PartialEq for CrateFeaturesResponse
Source§impl Serialize for CrateFeaturesResponse
impl Serialize for CrateFeaturesResponse
impl StructuralPartialEq for CrateFeaturesResponse
Auto Trait Implementations§
impl Freeze for CrateFeaturesResponse
impl RefUnwindSafe for CrateFeaturesResponse
impl Send for CrateFeaturesResponse
impl Sync for CrateFeaturesResponse
impl Unpin for CrateFeaturesResponse
impl UnsafeUnpin for CrateFeaturesResponse
impl UnwindSafe for CrateFeaturesResponse
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.