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: Stringcommunity_name: Stringdescription: Stringdownload_count: u32image_src: Option<String>is_deprecated: boolis_nsfw: boolis_pinned: boollast_updated: Stringnamespace: Stringpackage_name: Stringrating_score: u32team_name: StringImplementations
sourceimpl 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
sourceimpl<'de> Deserialize<'de> for Card
impl<'de> Deserialize<'de> for Card
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
impl Eq for Card
impl StructuralEq for Card
impl StructuralPartialEq for Card
Auto Trait Implementations
impl RefUnwindSafe for Card
impl Send for Card
impl Sync for Card
impl Unpin for Card
impl UnwindSafe for Card
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.