pub struct Purchase {
pub order_id: Option<String>,
pub package_name: String,
pub product_id: String,
pub purchase_time: i64,
pub purchase_token: String,
pub purchase_state: PurchaseStateValue,
pub is_auto_renewing: bool,
pub is_acknowledged: bool,
pub original_json: String,
pub signature: String,
pub original_id: Option<String>,
}Fields§
§order_id: Option<String>§package_name: String§product_id: String§purchase_time: i64§purchase_token: String§purchase_state: PurchaseStateValue§is_auto_renewing: bool§is_acknowledged: bool§original_json: String§signature: String§original_id: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Purchase
impl<'de> Deserialize<'de> for Purchase
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 Purchase
impl RefUnwindSafe for Purchase
impl Send for Purchase
impl Sync for Purchase
impl Unpin for Purchase
impl UnwindSafe for Purchase
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