[][src]Struct twitch_app_api::Addon

pub struct Addon {
    pub id: f64,
    pub name: String,
    pub authors: Vec<Author>,
    pub attachments: Vec<Attachment>,
    pub website_url: String,
    pub game_id: f64,
    pub summary: String,
    pub default_file_id: f64,
    pub download_count: f64,
    pub latest_files: Vec<File>,
    pub categories: Vec<PartialCategory>,
    pub status: u32,
    pub primary_category_id: u32,
    pub category_section: CategorySection,
    pub slug: String,
    pub game_version_latest_files: Vec<GameVersionFile>,
    pub is_featured: bool,
    pub popularity_score: f64,
    pub game_popularity_rank: f64,
    pub primary_language: String,
    pub game_slug: String,
    pub game_name: String,
    pub portal_name: String,
    pub date_modified: String,
    pub date_created: String,
    pub date_released: String,
    pub is_available: bool,
    pub is_experimental: bool,
}

Fields

id: f64name: Stringauthors: Vec<Author>attachments: Vec<Attachment>website_url: Stringgame_id: f64summary: Stringdefault_file_id: f64download_count: f64latest_files: Vec<File>categories: Vec<PartialCategory>status: u32primary_category_id: u32category_section: CategorySectionslug: Stringgame_version_latest_files: Vec<GameVersionFile>is_featured: boolpopularity_score: f64game_popularity_rank: f64primary_language: Stringgame_slug: Stringgame_name: Stringportal_name: Stringdate_modified: Stringdate_created: Stringdate_released: Stringis_available: boolis_experimental: bool

Implementations

impl Addon[src]

pub async fn from_id<'_>(client: &'_ Client, id: u64) -> Result<Self>[src]

Trait Implementations

impl Debug for Addon[src]

impl<'de> Deserialize<'de> for Addon[src]

Auto Trait Implementations

impl RefUnwindSafe for Addon

impl Send for Addon

impl Sync for Addon

impl Unpin for Addon

impl UnwindSafe for Addon

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.