Struct apple_bundle::info_plist::data_and_storage::Documents
source · [−]pub struct Documents {
pub bundle_document_types: Option<Vec<BundleDocumentTypes>>,
pub supports_document_browser: Option<bool>,
pub supports_opening_documents_in_place: Option<bool>,
pub persistent_store_type_key: Option<PersistentStoreTypeKey>,
pub downloads_ubiquitous_contents: Option<bool>,
}
Expand description
Documents
Fields
bundle_document_types: Option<Vec<BundleDocumentTypes>>
The document types supported by the bundle.
Availability
- iOS 2.0+
- macOS 10.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Core Foundation
supports_document_browser: Option<bool>
A Boolean value indicating whether the app is a document-based app.
Availability
- iOS 12.0+
Framework
- Core Services
supports_opening_documents_in_place: Option<bool>
A Boolean value indicating whether the app may open the original document from a file provider, rather than a copy of the document.
Availability
- iOS 12.0+
Framework
- Core Services
persistent_store_type_key: Option<PersistentStoreTypeKey>
The Core Data persistent store type associated with a document type.
Availability
- macOS 10.4+
Framework
- Core Data
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 Documents
impl<'de> Deserialize<'de> for Documents
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 Documents
impl StructuralEq for Documents
impl StructuralPartialEq for Documents
Auto Trait Implementations
impl RefUnwindSafe for Documents
impl Send for Documents
impl Sync for Documents
impl Unpin for Documents
impl UnwindSafe for Documents
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.