Struct apple_bundle::info_plist::data_and_storage::Storage
source · [−]pub struct Storage {
pub files: Option<Files>,
pub installer_url: Option<String>,
pub supports_purgeable_local_storage: Option<bool>,
pub file_quarantine_enabled: Option<bool>,
pub file_sharing_enabled: Option<bool>,
pub resources_file_mapped: Option<bool>,
pub downloads_ubiquitous_contents: Option<bool>,
}
Expand description
Storage
Fields
files: Option<Files>
Describes the files or directories the app installs on the system.
Availability
- macOS 10.0+
Framework
- AppKit
installer_url: Option<String>
The base path to the files or directories the app installs.
Availability
- macOS 10.0+
Framework
- AppKit
supports_purgeable_local_storage: Option<bool>
A Boolean value indicating whether the app continues working if the system purges the local storage.
Availability
- iOS 9.3+
Framework
- Foundation
file_quarantine_enabled: Option<bool>
A Boolean value indicating whether the files this app creates are quarantined by default.
Availability
- macOS 10.0+
Framework
- Core Services
file_sharing_enabled: Option<bool>
A Boolean value indicating whether the app shares files through iTunes.
Availability
- iOS 3.2+
- tvOS 9.0+
- watchOS 2.0+
Framework
- UIKit
resources_file_mapped: Option<bool>
A Boolean value indicating whether the app’s resources files should be mapped into memory.
Availability
- macOS 10.0+
Framework
- Core Foundation
downloads_ubiquitous_contents: Option<bool>
A Boolean value that indicates whether the system should download documents before handing them over to the app.
By default, the system displays the download progress. Set the value to YES if you want your app to display a custom download progress indicator instead.
Availability
- macOS 11.0+
Framework
- AppKit
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Storage
impl<'de> Deserialize<'de> for Storage
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 Storage
impl StructuralEq for Storage
impl StructuralPartialEq for Storage
Auto Trait Implementations
impl RefUnwindSafe for Storage
impl Send for Storage
impl Sync for Storage
impl Unpin for Storage
impl UnwindSafe for Storage
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.