Struct thunderstore_api::models::v2::community::PackageList
source · [−]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: Stringhas_more_pages: boolpackages: Vec<Card>Implementations
Trait Implementations
sourceimpl Clone for PackageList
impl Clone for PackageList
sourcefn clone(&self) -> PackageList
fn clone(&self) -> PackageList
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for PackageList
impl Debug for PackageList
sourceimpl Default for PackageList
impl Default for PackageList
sourcefn default() -> PackageList
fn default() -> PackageList
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for PackageList
impl<'de> Deserialize<'de> for PackageList
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
sourceimpl PartialEq<PackageList> for PackageList
impl PartialEq<PackageList> for PackageList
sourcefn eq(&self, other: &PackageList) -> bool
fn eq(&self, other: &PackageList) -> bool
sourceimpl Serialize for PackageList
impl Serialize for PackageList
impl Eq for PackageList
impl StructuralEq for PackageList
impl StructuralPartialEq for PackageList
Auto Trait Implementations
impl RefUnwindSafe for PackageList
impl Send for PackageList
impl Sync for PackageList
impl Unpin for PackageList
impl UnwindSafe for PackageList
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.