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: Stringfull_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: Versioncommunity_listings: Vec<Listing>Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Package
impl<'de> Deserialize<'de> for Package
sourcefn 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 StructuralEq for Package
impl StructuralPartialEq for Package
Auto Trait Implementations
impl RefUnwindSafe for Package
impl Send for Package
impl Sync for Package
impl Unpin for Package
impl UnwindSafe for Package
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.