apple_bundle/entitlements/exposure_notification.rs
1use serde::{Deserialize, Serialize};
2
3/// Exposure Notification
4#[derive(Serialize, Deserialize, Clone, Default, Debug, PartialEq, Eq)]
5pub struct ExposureNotification {
6 /// A Boolean value that indicates whether the app may use exposure notification.
7 ///
8 /// Before you can develop an app that uses exposure notifications, you need this
9 /// entitlement. For more information on this entitlement, see Exposure
10 /// Notification APIs Addendum. To get permission to use this entitlement, see
11 /// Exposure Notification Entitlement Request.
12 ///
13 /// ## Availability
14 /// * iOS 13.5+
15 ///
16 /// ## Framework
17 /// * Exposure Notification
18 #[serde(
19 rename = "com.apple.developer.exposure-notification",
20 serialize_with = "crate::serialize_option",
21 skip_serializing_if = "Option::is_none"
22 )]
23 pub exposure_notification: Option<bool>,
24}