pub struct Game {Show 25 fields
pub id: u32,
pub title: String,
pub short_text: Option<String>,
pub url: Url,
pub cover_url: Option<Url>,
pub still_cover_url: Option<Url>,
pub type: String,
pub classification: String,
pub p_linux: bool,
pub p_android: bool,
pub p_windows: bool,
pub p_osx: bool,
pub created_at: DateTime<Utc>,
pub min_price: u32,
pub can_be_bought: bool,
pub published: bool,
pub published_at: Option<DateTime<Utc>>,
pub has_demo: bool,
pub embed: Option<Embed>,
pub user: User,
pub views_count: u64,
pub purchases_count: u64,
pub downloads_count: u64,
pub in_press_system: bool,
pub earnings: Option<Vec<Earning>>,
}Expand description
A representation of one of yours Games on the itch.io website.
Fields§
§id: u32§title: String§short_text: Option<String>§url: Url§cover_url: Option<Url>§still_cover_url: Option<Url>§type: String§classification: String§p_linux: bool§p_android: bool§p_windows: bool§p_osx: bool§created_at: DateTime<Utc>§min_price: u32§can_be_bought: bool§published: bool§published_at: Option<DateTime<Utc>>§has_demo: bool§embed: Option<Embed>§user: User§views_count: u64§purchases_count: u64§downloads_count: u64§in_press_system: bool§earnings: Option<Vec<Earning>>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Game
impl<'de> Deserialize<'de> for Game
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
Auto Trait Implementations§
impl Freeze for Game
impl RefUnwindSafe for Game
impl Send for Game
impl Sync for Game
impl Unpin for Game
impl UnwindSafe for Game
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