pub struct Package {Show 13 fields
pub namespace: Option<String>,
pub name: String,
pub full_name: Option<String>,
pub owner: Option<String>,
pub package_url: Option<String>,
pub date_created: Option<String>,
pub date_updated: Option<String>,
pub rating_score: Option<String>,
pub is_pinned: Option<bool>,
pub is_deprecated: Option<bool>,
pub total_downloads: Option<String>,
pub latest: Version,
pub community_listings: Vec<Listing>,
}
Fields§
§namespace: Option<String>
§name: String
§full_name: Option<String>
§owner: Option<String>
§package_url: Option<String>
§date_created: Option<String>
§date_updated: Option<String>
§rating_score: Option<String>
§is_pinned: Option<bool>
§is_deprecated: Option<bool>
§total_downloads: Option<String>
§latest: Version
§community_listings: Vec<Listing>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Package
impl<'de> Deserialize<'de> for Package
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 Package
impl StructuralPartialEq for Package
Auto Trait Implementations§
impl Freeze for Package
impl RefUnwindSafe for Package
impl Send for Package
impl Sync for Package
impl Unpin for Package
impl UnwindSafe for Package
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,
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.