pub struct PackageList {
pub bg_image_src: Option<String>,
pub categories: Vec<Category>,
pub community_name: String,
pub has_more_pages: bool,
pub packages: Vec<Card>,
}
Fields§
§bg_image_src: Option<String>
§categories: Vec<Category>
§community_name: String
§has_more_pages: bool
§packages: Vec<Card>
Implementations§
Trait Implementations§
Source§impl Clone for PackageList
impl Clone for PackageList
Source§fn clone(&self) -> PackageList
fn clone(&self) -> PackageList
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 PackageList
impl Debug for PackageList
Source§impl Default for PackageList
impl Default for PackageList
Source§fn default() -> PackageList
fn default() -> PackageList
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PackageList
impl<'de> Deserialize<'de> for PackageList
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
Source§impl PartialEq for PackageList
impl PartialEq for PackageList
Source§impl Serialize for PackageList
impl Serialize for PackageList
impl Eq for PackageList
impl StructuralPartialEq for PackageList
Auto Trait Implementations§
impl Freeze for PackageList
impl RefUnwindSafe for PackageList
impl Send for PackageList
impl Sync for PackageList
impl Unpin for PackageList
impl UnwindSafe for PackageList
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.