pub struct Bundle {
pub gamekey: String,
pub created: NaiveDateTime,
pub claimed: bool,
pub tpkd_dict: HashMap<String, Value>,
pub details: BundleDetails,
pub products: Vec<Product>,
}Fields§
§gamekey: String§created: NaiveDateTime§claimed: bool§tpkd_dict: HashMap<String, Value>§details: BundleDetails§products: Vec<Product>Implementations§
source§impl Bundle
impl Bundle
pub fn claim_status(&self) -> ClaimStatus
pub fn product_keys(&self) -> Vec<ProductKey>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Bundle
impl<'de> Deserialize<'de> for Bundle
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 Bundle
impl RefUnwindSafe for Bundle
impl Send for Bundle
impl Sync for Bundle
impl Unpin for Bundle
impl UnwindSafe for Bundle
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