[][src]Struct creator_tools::types::BackgroundExecution

pub struct BackgroundExecution {
    pub ui_background_modes: Option<Vec<UIBackgroundMode>>,
    pub wk_background_modes: Option<Vec<WKBackgroundMode>>,
    pub task_scheduler_permitted_identifiers: Option<Vec<String>>,
    pub background_only: Option<bool>,
}

Background Execution.

Fields

ui_background_modes: Option<Vec<UIBackgroundMode>>

Services provided by an app that require it to run in the background.

wk_background_modes: Option<Vec<WKBackgroundMode>>

The services a watchOS app provides that require it to continue running in the background.

You can only enable one of the extended runtime session modes (self-care, mindfulness, physical-therapy, or alarm). However, you can enable both an extended runtime session mode and the workout-processing mode. If you set the background modes using Xcode’s Signing & Capabilities tab, Xcode insures that these values are set properly.

task_scheduler_permitted_identifiers: Option<Vec<String>>

An array of strings containing developer-specified task identifiers in reverse URL notation.

background_only: Option<bool>

A Boolean value indicating whether the app runs only in the background.

Trait Implementations

impl Clone for BackgroundExecution[src]

impl Debug for BackgroundExecution[src]

impl Default for BackgroundExecution[src]

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

impl PartialEq<BackgroundExecution> for BackgroundExecution[src]

impl Serialize for BackgroundExecution[src]

impl StructuralPartialEq for BackgroundExecution[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.