Struct iap::AppleResponse [−][src]
See https://developer.apple.com/documentation/appstorereceipts/responsebody for more details on each field
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]
fn clone(&self) -> AppleResponse
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for AppleResponse
[src]
fn default() -> AppleResponse
[src]
impl<'de> Deserialize<'de> for AppleResponse
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for AppleResponse
[src]
Auto Trait Implementations
impl RefUnwindSafe for AppleResponse
[src]
impl Send for AppleResponse
[src]
impl Sync for AppleResponse
[src]
impl Unpin for AppleResponse
[src]
impl UnwindSafe for AppleResponse
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,