Struct apple_bundle::info_plist::app_execution::ActivationRule[][src]

pub struct ActivationRule {
    pub dictionary_version: Option<i32>,
    pub supports_attachments_with_max_count: Option<i32>,
    pub supports_attachments_with_min_count: Option<i32>,
    pub supports_file_with_max_count: Option<i32>,
    pub supports_image_with_max_count: Option<i32>,
    pub supports_movie_with_max_count: Option<i32>,
    pub supports_text: Option<bool>,
    pub supports_web_page_with_max_count: Option<i32>,
    pub supports_web_url_with_max_count: Option<i32>,
    pub uses_strict_matching: Option<bool>,
}
Expand description

Activation Rule

Fields

dictionary_version: Option<i32>

The version of the parent extension-activation rule dictionary.

Availability

  • iOS 9.0+
  • macOS 10.11+

Framework

  • Foundation
supports_attachments_with_max_count: Option<i32>

The maximum number of attachments that the app extension supports.

Availability

  • iOS 8.0+
  • macOS 10.10+

Framework

  • Foundation
supports_attachments_with_min_count: Option<i32>

The minimum number of attachments that the app extension supports.

Availability

  • iOS 8.0+
  • macOS 10.10+

Framework

  • Foundation
supports_file_with_max_count: Option<i32>

The maximum number of all types of files that the app extension supports.

Availability

  • iOS 8.0+
  • macOS 10.10+

Framework

  • Foundation
supports_image_with_max_count: Option<i32>

The maximum number of image files that the app extension supports.

Availability

  • iOS 8.0+
  • macOS 10.10+

Framework

  • Foundation
supports_movie_with_max_count: Option<i32>

The maximum number of movie files that the app extension supports.

Availability

  • iOS 8.0+
  • macOS 10.10+

Framework

  • Foundation
supports_text: Option<bool>

A Boolean value indicating whether the app extension supports text.

Availability

  • iOS 8.0+
  • macOS 10.10+

Framework

  • Foundation
supports_web_page_with_max_count: Option<i32>

The maximum number of webpages that the app extension supports.

Availability

  • iOS 8.0+
  • macOS 10.10+

Framework

  • Foundation
supports_web_url_with_max_count: Option<i32>

The maximum number of HTTP URLs that the app extension supports.

Availability

  • iOS 8.0+
  • macOS 10.10+

Framework

  • Foundation
uses_strict_matching: Option<bool>

A Boolean value indicating whether strict or fuzzy matching is used when determining the asset types an app extension handles.

Availability

  • iOS 9.0+
  • macOS 10.11+

Framework

  • Foundation

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.