pub struct AppStoreProduct {
pub id: String,
pub kind: String,
pub pages: i64,
}Expand description
A product on sale in the App Store, from GET /api/app_store/products.
The server decides what is on sale, so a special can be offered without a
new app; StoreKit supplies the name and price.
Fields§
§id: StringThe App Store product ID to ask StoreKit for.
kind: String"page_pack" or "subscription". Skip any other kind.
pages: i64The pages a page pack adds, or a subscription adds each billing period.
Trait Implementations§
Source§impl Clone for AppStoreProduct
impl Clone for AppStoreProduct
Source§impl Debug for AppStoreProduct
impl Debug for AppStoreProduct
Source§impl<'de> Deserialize<'de> for AppStoreProduct
impl<'de> Deserialize<'de> for AppStoreProduct
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 Forget for AppStoreProduct
impl Freeze for AppStoreProduct
impl RefUnwindSafe for AppStoreProduct
impl Send for AppStoreProduct
impl Sync for AppStoreProduct
impl Unpin for AppStoreProduct
impl UnsafeUnpin for AppStoreProduct
impl UnwindSafe for AppStoreProduct
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