pub struct Photos {
pub photo_library_add_usage_description: Option<String>,
pub photo_library_usage_description: Option<String>,
}Expand description
Fields§
§photo_library_add_usage_description: Option<String>A message that tells the user why the app is requesting add-only access to the user’s photo library.
§Important
This key is required if your app uses APIs that have write access to the user’s photo library.
§Availability
- iOS 11.0+
§Framework
- Photos
photo_library_usage_description: Option<String>A message that tells the user why the app is requesting access to the user’s photo library.
If your app only adds assets to the photo library and does not read assets, use the NSPhotoLibraryAddUsageDescription key instead.
§Important
This key is required if your app uses APIs that have read or write access to the user’s photo library.
§Availability
- iOS 6.0+
- macOS 10.14+
§Framework
- Photos
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Photos
impl<'de> Deserialize<'de> for Photos
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Photos
impl StructuralPartialEq for Photos
Auto Trait Implementations§
impl Freeze for Photos
impl RefUnwindSafe for Photos
impl Send for Photos
impl Sync for Photos
impl Unpin for Photos
impl UnwindSafe for Photos
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
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
Compare self to
key and return true if they are equal.