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