Struct iap::AppleResponse[][src]

pub struct AppleResponse {
    pub status: i32,
    pub is_retryable: Option<bool>,
    pub environment: Option<String>,
    pub latest_receipt: Option<String>,
    pub latest_receipt_info: Option<Vec<AppleLatestReceipt>>,
}

Fields

status: i32

Either 0 if the receipt is valid, or a status code if there is an error. The status code reflects the status of the app receipt as a whole.

is_retryable: Option<bool>

An indicator that an error occurred during the request. A value of 1 indicates a temporary issue; retry validation for this receipt at a later time. A value of 0 indicates an unresolvable issue; do not retry validation for this receipt. Only applicable to status codes 21100-21199.

environment: Option<String>

The environment for which the receipt was generated. Possible values: Sandbox, Production

latest_receipt: Option<String>

The latest Base64 encoded app receipt. Only returned for receipts that contain auto-renewable subscriptions.

latest_receipt_info: Option<Vec<AppleLatestReceipt>>

An array that contains all in-app purchase transactions. This excludes transactions for consumable products that have been marked as finished by your app. Only returned for receipts that contain auto-renewable subscriptions.

Trait Implementations

impl Clone for AppleResponse[src]

impl Default for AppleResponse[src]

impl<'de> Deserialize<'de> for AppleResponse[src]

impl Serialize for AppleResponse[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.