apple-bundle 0.1.4

Apple BundleResources serializer and deserializer for Rust
Documentation
use serde::{Deserialize, Serialize};

/// Siri
#[derive(Serialize, Deserialize, Clone, Default, Debug, PartialEq, Eq)]
pub struct Siri {
    /// A Boolean value that indicates whether the app handles Siri requests.
    ///
    /// The App Store requires the presence of this entitlement for iOS or watchOS apps
    /// containing Intents app extensions that handle any Siri requests other than
    /// shortcut requests. To add the entitlement to your app, enable the Siri
    /// capability in Xcode.
    ///
    /// ## Availability
    /// * iOS 10.0+
    /// * watchOS 3.2+
    ///
    /// ## Framework
    /// * Intents
    #[serde(
        rename = "com.apple.developer.siri",
        serialize_with = "crate::serialize_option",
        skip_serializing_if = "Option::is_none"
    )]
    pub siri: Option<bool>,
}