pub struct Card {Show 14 fields
pub categories: Vec<Category>,
pub community_identifier: String,
pub community_name: String,
pub description: String,
pub download_count: u32,
pub image_src: Option<String>,
pub is_deprecated: bool,
pub is_nsfw: bool,
pub is_pinned: bool,
pub last_updated: String,
pub namespace: String,
pub package_name: String,
pub rating_score: u32,
pub team_name: String,
}
Fields§
§categories: Vec<Category>
§community_identifier: String
§community_name: String
§description: String
§download_count: u32
§image_src: Option<String>
§is_deprecated: bool
§is_nsfw: bool
§is_pinned: bool
§last_updated: String
§namespace: String
§package_name: String
§rating_score: u32
§team_name: String
Implementations§
Source§impl Card
impl Card
pub fn new( categories: Vec<Category>, community_identifier: String, community_name: String, description: String, download_count: u32, image_src: Option<String>, is_deprecated: bool, is_nsfw: bool, is_pinned: bool, last_updated: String, namespace: String, package_name: String, rating_score: u32, team_name: String, ) -> Card
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Card
impl<'de> Deserialize<'de> for Card
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
impl Eq for Card
impl StructuralPartialEq for Card
Auto Trait Implementations§
impl Freeze for Card
impl RefUnwindSafe for Card
impl Send for Card
impl Sync for Card
impl Unpin for Card
impl UnwindSafe for Card
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.