pub struct Offer {Show 24 fields
pub type: String,
pub offer_id: String,
pub name: String,
pub description: String,
pub image_id: String,
pub game_distribution_sub_type: String,
pub b_is_owned: bool,
pub b_hidden: bool,
pub b_can_purchase: bool,
pub purchase_date: String,
pub download_date: String,
pub playable_date: String,
pub use_end_date: String,
pub download_size: u64,
pub currency: String,
pub b_is_discounted: bool,
pub price: f64,
pub localized_price: String,
pub original_price: f64,
pub localized_original_price: String,
pub inventory_cap: i32,
pub inventory_sold: i32,
pub inventory_available: i32,
pub entitlements: Vec<Entitlement>,
}Fields§
§type: String§offer_id: String§name: String§description: String§image_id: String§game_distribution_sub_type: String§b_is_owned: bool§b_can_purchase: bool§purchase_date: String§download_date: String§playable_date: String§use_end_date: String§download_size: u64§currency: String§b_is_discounted: bool§price: f64§localized_price: String§original_price: f64§localized_original_price: String§inventory_cap: i32§inventory_sold: i32§inventory_available: i32§entitlements: Vec<Entitlement>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Offer
impl<'de> Deserialize<'de> for Offer
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 Offer
impl RefUnwindSafe for Offer
impl Send for Offer
impl Sync for Offer
impl Unpin for Offer
impl UnwindSafe for Offer
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