pub struct Contacts {
pub carplay_audio: Option<bool>,
}Expand description
Contacts
Fields§
§carplay_audio: Option<bool>A Boolean value that indicates whether the app may access the notes stored in contacts.
When your app loads one or more entries from the user’s contacts—for example, by calling the unifiedContacts(matching:keysToFetch:) method—you provide a list of keys specifying what fields to fetch. If your app links against iOS 13 or later, the app must have the com.apple.developer.contacts.notes entitlement to request the note field using CNContactNoteKey. Without the entitlement, your app receives an unauthorizedKeys error when trying to fetch notes.
To add the entitlement to your app, in the Xcode property list editor, set the entitlement’s type to Boolean, and the corresponding value to YES. Before you can submit an app with this entitlement to the App Store, you must first get permission to use the entitlement. Request permission at https://developer.apple.com/contact/request/contact-note-field.
§Availability
- iOS 13.0+
§Framework
- Contacts
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Contacts
impl<'de> Deserialize<'de> for Contacts
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for Contacts
impl StructuralPartialEq for Contacts
Auto Trait Implementations§
impl Freeze for Contacts
impl RefUnwindSafe for Contacts
impl Send for Contacts
impl Sync for Contacts
impl Unpin for Contacts
impl UnwindSafe for Contacts
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.