app_store_server_library/primitives/response_body_v2.rs
1use serde::{Deserialize, Serialize};
2
3/// The response body the App Store sends in a version 2 server notification.
4///
5/// [responseBodyV2](https://developer.apple.com/documentation/appstoreservernotifications/responsebodyv2)
6#[derive(Debug, Clone, Deserialize, Serialize, Hash, PartialEq, Eq)]
7pub struct ResponseBodyV2 {
8 /// A cryptographically signed payload, in JSON Web Signature (JWS) format, containing the response body for a version 2 notification.
9 ///
10 /// [signedPayload](https://developer.apple.com/documentation/appstoreservernotifications/signedpayload)
11 #[serde(rename = "signedPayload")]
12 pub signed_payload: Option<String>,
13}