app_store_server_library/primitives/
play_time.rs

1use serde_repr::{Deserialize_repr, Serialize_repr};
2
3/// A value that indicates the amount of time that the customer used the app.
4///
5/// [playTime](https://developer.apple.com/documentation/appstoreserverapi/playtime)
6#[derive(Debug, Clone, Deserialize_repr, Serialize_repr, Hash, PartialEq, Eq)]
7#[repr(u8)]
8pub enum PlayTime {
9    Undeclared = 0,
10    ZeroToFiveMinutes = 1,
11    FiveToSixtyMinutes = 2,
12    OneToSixHours = 3,
13    SixHoursToTwentyFourHours = 4,
14    OneDayToFourDays = 5,
15    FourDaysToSixteenDays = 6,
16    OverSixteenDays = 7,
17}