[][src]Struct creator_tools::types::ActivationRule

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<i32>,
    pub supports_web_page_with_max_count: Option<i32>,
    pub supports_web_url_with_max_count: Option<i32>,
    pub uses_strict_matching: Option<bool>,
}

Activation Rule.

Fields

dictionary_version: Option<i32>

The version of the parent extension-activation rule dictionary.

supports_attachments_with_max_count: Option<i32>

The maximum number of attachments that the app extension supports.

supports_attachments_with_min_count: Option<i32>

The minimum number of attachments that the app extension supports.

supports_file_with_max_count: Option<i32>

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

supports_image_with_max_count: Option<i32>

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

supports_movie_with_max_count: Option<i32>

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

supports_text: Option<i32>

A Boolean value indicating whether the app extension supports text.

supports_web_page_with_max_count: Option<i32>

The maximum number of webpages that the app extension supports.

supports_web_url_with_max_count: Option<i32>

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

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.

Trait Implementations

impl Clone for ActivationRule[src]

impl Debug for ActivationRule[src]

impl Default for ActivationRule[src]

impl<'de> Deserialize<'de> for ActivationRule[src]

impl PartialEq<ActivationRule> for ActivationRule[src]

impl Serialize for ActivationRule[src]

impl StructuralPartialEq for ActivationRule[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.