pub struct Game {Show 19 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_at: Option<DateTime<Utc>>,
pub has_demo: bool,
pub embed: Option<Embed>,
pub in_press_system: bool,
}Expand description
A representation of a publicly visible Game 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_at: Option<DateTime<Utc>>§has_demo: bool§embed: Option<Embed>§in_press_system: boolTrait 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