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: 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
Implementations§
Source§impl 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§
Source§impl Clone for DetailView
impl Clone for DetailView
Source§fn clone(&self) -> DetailView
fn clone(&self) -> DetailView
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 DetailView
impl Debug for DetailView
Source§impl Default for DetailView
impl Default for DetailView
Source§fn default() -> DetailView
fn default() -> DetailView
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DetailView
impl<'de> Deserialize<'de> for DetailView
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 DetailView
impl PartialEq for DetailView
Source§impl Serialize for DetailView
impl Serialize for DetailView
impl Eq for DetailView
impl StructuralPartialEq for DetailView
Auto Trait Implementations§
impl Freeze for DetailView
impl RefUnwindSafe for DetailView
impl Send for DetailView
impl Sync for DetailView
impl Unpin for DetailView
impl UnwindSafe for DetailView
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.