[][src]Enum creator_simctl::privacy::PrivacyService

pub enum PrivacyService {
    All,
    Calendar,
    ContactsLimited,
    Contacts,
    Location,
    LocationAlways,
    PhotosAdd,
    Photos,
    MediaLibrary,
    Microphone,
    Motion,
    Reminders,
    Siri,
}

Refers to a specific service that an app needs to have permission for to access.

Variants

All

Wildcard that includes all services.

Calendar

Grants access to a user's calendar.

ContactsLimited

Grants limited access to a user's contacts.

Contacts

Grants access to a user's contacts.

Location

Grants access to a user's location when an app is active.

LocationAlways

Grants access to a user's location even if the app is in background.

PhotosAdd

Grants access to adding photos to the user's photo library.

Photos

Grants access to reading photos from the user's photo library.

MediaLibrary

Grants access to the user's media library (i.e. music and videos).

Microphone

Grants access to the user's microphone (which will most likely be the microphone of the Mac that the simulator runs on).

Motion

Grants access to the user's motion sensors.

Reminders

Grants access to the user's reminders.

Siri

Grants access to Siri.

Trait Implementations

impl Clone for PrivacyService[src]

impl Copy for PrivacyService[src]

impl Debug for PrivacyService[src]

impl Eq for PrivacyService[src]

impl PartialEq<PrivacyService> for PrivacyService[src]

impl StructuralEq for PrivacyService[src]

impl StructuralPartialEq for PrivacyService[src]

impl ToString for PrivacyService[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> 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.