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
14
15
use serde::{Deserialize, Serialize};

use crate::models::get_message_list_response_item::GetMessageListResponseItem;

/// A response that contains status information for all messages.
///
/// [GetMessageListResponse](https://developer.apple.com/documentation/retentionmessaging/getmessagelistresponse)
#[derive(Debug, Clone, Deserialize, Serialize, Hash, PartialEq, Eq)]
pub struct GetMessageListResponse {
    /// An array of all message identifiers and their message state.
    ///
    /// [messageIdentifiers](https://developer.apple.com/documentation/retentionmessaging/getmessagelistresponseitem)
    #[serde(rename = "messageIdentifiers")]
    pub message_identifiers: Option<Vec<GetMessageListResponseItem>>,
}