pub enum SimctlPermission {
Show 16 variants
Camera,
Photos,
Location,
LocationAlways,
Notifications,
Microphone,
Contacts,
Calendar,
Reminders,
Media,
Motion,
HomeKit,
Health,
Bluetooth,
Faceid,
AddressBook,
}Expand description
Permission names accepted by xcrun simctl privacy <udid> grant <name>.
Mirrors TS SimctlPermission 1:1.
Variants§
Camera
Camera access.
Photos
Photos library access.
Location
Location access (while-in-use).
LocationAlways
Background location access (always).
Notifications
Notification posting permission.
Microphone
Microphone access.
Contacts
Contacts access.
Calendar
Calendar events access.
Reminders
Reminders access.
Media
Media library (music / video) access.
Motion
Motion / fitness sensor access.
HomeKit
HomeKit accessory access.
Health
HealthKit data access.
Bluetooth
Bluetooth device discovery / connection.
Faceid
FaceID / TouchID biometric prompt.
AddressBook
Address-book (deprecated alias for Contacts).
Implementations§
Trait Implementations§
Source§impl Clone for SimctlPermission
impl Clone for SimctlPermission
Source§fn clone(&self) -> SimctlPermission
fn clone(&self) -> SimctlPermission
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SimctlPermission
Source§impl Debug for SimctlPermission
impl Debug for SimctlPermission
impl Eq for SimctlPermission
Source§impl PartialEq for SimctlPermission
impl PartialEq for SimctlPermission
Source§fn eq(&self, other: &SimctlPermission) -> bool
fn eq(&self, other: &SimctlPermission) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SimctlPermission
Auto Trait Implementations§
impl Freeze for SimctlPermission
impl RefUnwindSafe for SimctlPermission
impl Send for SimctlPermission
impl Sync for SimctlPermission
impl Unpin for SimctlPermission
impl UnsafeUnpin for SimctlPermission
impl UnwindSafe for SimctlPermission
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more