Struct apple_bundle::info_plist::protected_resources::Photos
source · [−]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
sourceimpl<'de> Deserialize<'de> for Photos
impl<'de> Deserialize<'de> for Photos
sourcefn 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 StructuralEq for Photos
impl StructuralPartialEq for Photos
Auto Trait Implementations
impl RefUnwindSafe for Photos
impl Send for Photos
impl Sync for Photos
impl Unpin for Photos
impl UnwindSafe for Photos
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.