app-store-server-library 6.0.0

The Rust server library for the App Store Server API, App Store Server Notifications and Advanced Commerce API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use serde::{Deserialize, Serialize};

/// The request body the App Store server sends to your Get Retention Message endpoint.
///
/// [RealtimeRequestBody](https://developer.apple.com/documentation/retentionmessaging/realtimerequestbody)
#[derive(Debug, Clone, Deserialize, Serialize, Hash, PartialEq, Eq)]
pub struct RealtimeRequestBody {
    /// The payload in JSON Web Signature (JWS) format, signed by the App Store.
    ///
    /// [signedPayload](https://developer.apple.com/documentation/retentionmessaging/signedpayload)
    #[serde(rename = "signedPayload")]
    pub signed_payload: Option<String>,
}