app_store_server_library/primitives/retention_messaging/message_state.rs
1use serde::{Deserialize, Serialize};
2
3/// The approval state of the message.
4///
5/// [messageState](https://developer.apple.com/documentation/retentionmessaging/messagestate)
6#[derive(Debug, Clone, Deserialize, Serialize, Hash, PartialEq, Eq)]
7pub enum MessageState {
8 #[serde(rename = "PENDING")]
9 Pending,
10 #[serde(rename = "APPROVED")]
11 Approved,
12 #[serde(rename = "REJECTED")]
13 Rejected,
14}