Struct thunderstore_api::models::v2::front_page_content::FrontPageContent
source · [−]pub struct FrontPageContent {
pub communities: Vec<Card>,
pub download_count: u32,
pub package_count: u32,
}Fields
communities: Vec<Card>download_count: u32package_count: u32Implementations
Trait Implementations
sourceimpl Clone for FrontPageContent
impl Clone for FrontPageContent
sourcefn clone(&self) -> FrontPageContent
fn clone(&self) -> FrontPageContent
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 FrontPageContent
impl Debug for FrontPageContent
sourceimpl Default for FrontPageContent
impl Default for FrontPageContent
sourcefn default() -> FrontPageContent
fn default() -> FrontPageContent
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for FrontPageContent
impl<'de> Deserialize<'de> for FrontPageContent
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<FrontPageContent> for FrontPageContent
impl PartialEq<FrontPageContent> for FrontPageContent
sourcefn eq(&self, other: &FrontPageContent) -> bool
fn eq(&self, other: &FrontPageContent) -> bool
sourceimpl Serialize for FrontPageContent
impl Serialize for FrontPageContent
impl Eq for FrontPageContent
impl StructuralEq for FrontPageContent
impl StructuralPartialEq for FrontPageContent
Auto Trait Implementations
impl RefUnwindSafe for FrontPageContent
impl Send for FrontPageContent
impl Sync for FrontPageContent
impl Unpin for FrontPageContent
impl UnwindSafe for FrontPageContent
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.