app_store_server_library/primitives/
platform.rs

1use serde_repr::{Deserialize_repr, Serialize_repr};
2
3/// The platform on which the customer consumed the in-app purchase.
4///
5/// [platform](https://developer.apple.com/documentation/appstoreserverapi/platform)
6#[derive(Debug, Clone, Deserialize_repr, Serialize_repr, Hash, PartialEq, Eq)]
7#[repr(u8)]
8pub enum Platform {
9    Undeclared = 0,
10    Apple = 1,
11    NonApple = 2,
12}