pub struct Purchase {
pub developer_payload: String,
pub order_id: Option<String>,
pub original_json: String,
pub package_name: String,
pub products: Vec<String>,
pub purchase_state: i32,
pub purchase_time: i128,
pub purchase_token: String,
pub quantity: i32,
pub signature: String,
pub is_acknowledged: bool,
pub is_auto_renewing: bool,
}Fields§
§developer_payload: String§order_id: Option<String>§original_json: String§package_name: String§products: Vec<String>§purchase_state: i32§purchase_time: i128§purchase_token: String§quantity: i32§signature: String§is_acknowledged: bool§is_auto_renewing: boolTrait 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 UnsafeUnpin 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