Struct thunderstore_api::models::v2::package::DetailView
source · [−]pub struct DetailView {Show 20 fields
pub bg_image_src: Option<String>,
pub categories: Vec<Category>,
pub community_identifier: String,
pub community_name: String,
pub dependant_count: u32,
pub dependencies: Vec<Dependency>,
pub dependency_string: String,
pub description: String,
pub download_count: u32,
pub download_url: String,
pub image_src: Option<String>,
pub install_url: String,
pub last_updated: String,
pub markdown: String,
pub namespace: String,
pub package_name: String,
pub rating_score: u32,
pub team_name: String,
pub versions: Vec<Version>,
pub website: String,
}Fields
bg_image_src: Option<String>categories: Vec<Category>community_identifier: Stringcommunity_name: Stringdependant_count: u32dependencies: Vec<Dependency>dependency_string: Stringdescription: Stringdownload_count: u32download_url: Stringimage_src: Option<String>install_url: Stringlast_updated: Stringmarkdown: Stringnamespace: Stringpackage_name: Stringrating_score: u32team_name: Stringversions: Vec<Version>website: StringImplementations
sourceimpl DetailView
impl DetailView
pub fn new(
bg_image_src: Option<String>,
categories: Vec<Category>,
community_identifier: String,
community_name: String,
dependant_count: u32,
dependencies: Vec<Dependency>,
dependency_string: String,
description: String,
download_count: u32,
download_url: String,
image_src: Option<String>,
install_url: String,
last_updated: String,
markdown: String,
namespace: String,
package_name: String,
rating_score: u32,
team_name: String,
versions: Vec<Version>,
website: String
) -> DetailView
Trait Implementations
sourceimpl Clone for DetailView
impl Clone for DetailView
sourcefn clone(&self) -> DetailView
fn clone(&self) -> DetailView
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 DetailView
impl Debug for DetailView
sourceimpl Default for DetailView
impl Default for DetailView
sourcefn default() -> DetailView
fn default() -> DetailView
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for DetailView
impl<'de> Deserialize<'de> for DetailView
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<DetailView> for DetailView
impl PartialEq<DetailView> for DetailView
sourcefn eq(&self, other: &DetailView) -> bool
fn eq(&self, other: &DetailView) -> bool
sourceimpl Serialize for DetailView
impl Serialize for DetailView
impl Eq for DetailView
impl StructuralEq for DetailView
impl StructuralPartialEq for DetailView
Auto Trait Implementations
impl RefUnwindSafe for DetailView
impl Send for DetailView
impl Sync for DetailView
impl Unpin for DetailView
impl UnwindSafe for DetailView
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.