app_store_server_library/primitives/retention_messaging/
message.rs

1use serde::{Deserialize, Serialize};
2use uuid::Uuid;
3
4/// A message identifier you provide in a real-time response to your Get Retention Message endpoint.
5///
6/// [message](https://developer.apple.com/documentation/retentionmessaging/message)
7#[derive(Debug, Clone, Deserialize, Serialize, Hash, PartialEq, Eq)]
8pub struct Message {
9    /// The identifier of the message to display to the customer.
10    ///
11    /// [messageIdentifier](https://developer.apple.com/documentation/retentionmessaging/messageidentifier)
12    #[serde(rename = "messageIdentifier")]
13    pub message_identifier: Option<Uuid>,
14}