pub struct ExternalPurchase;Expand description
Helpers backed by StoreKit external purchase APIs.
Implementations§
Source§impl ExternalPurchase
impl ExternalPurchase
Sourcepub fn can_present() -> Result<bool, StoreKitError>
pub fn can_present() -> Result<bool, StoreKitError>
Returns whether StoreKit can present the external purchase notice sheet.
Sourcepub fn present_notice_sheet() -> Result<ExternalPurchaseNoticeResult, StoreKitError>
pub fn present_notice_sheet() -> Result<ExternalPurchaseNoticeResult, StoreKitError>
Presents the StoreKit external purchase notice sheet.
Trait Implementations§
Source§impl Clone for ExternalPurchase
impl Clone for ExternalPurchase
impl Copy for ExternalPurchase
Source§impl Debug for ExternalPurchase
impl Debug for ExternalPurchase
Auto Trait Implementations§
impl Forget for ExternalPurchase
impl Freeze for ExternalPurchase
impl Move for ExternalPurchase
impl RefUnwindSafe for ExternalPurchase
impl Send for ExternalPurchase
impl Sync for ExternalPurchase
impl Unpin for ExternalPurchase
impl UnsafeUnpin for ExternalPurchase
impl UnwindSafe for ExternalPurchase
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