pub struct ExportedFileAssociation {
pub identifier: String,
pub conforms_to: Option<Vec<String>>,
}Expand description
The exported type definition. Maps to a UTExportedTypeDeclarations entry on macOS.
Fields§
§identifier: StringThe unique identifier for the exported type. Maps to UTTypeIdentifier.
conforms_to: Option<Vec<String>>The types that this type conforms to. Maps to UTTypeConformsTo.
Examples are public.data, public.image, public.json and public.database.
Trait Implementations§
Source§impl Clone for ExportedFileAssociation
impl Clone for ExportedFileAssociation
Source§fn clone(&self) -> ExportedFileAssociation
fn clone(&self) -> ExportedFileAssociation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExportedFileAssociation
impl Debug for ExportedFileAssociation
Source§impl<'de> Deserialize<'de> for ExportedFileAssociation
impl<'de> Deserialize<'de> for ExportedFileAssociation
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
Source§impl PartialEq for ExportedFileAssociation
impl PartialEq for ExportedFileAssociation
Source§impl Serialize for ExportedFileAssociation
impl Serialize for ExportedFileAssociation
impl Eq for ExportedFileAssociation
impl StructuralPartialEq for ExportedFileAssociation
Auto Trait Implementations§
impl Freeze for ExportedFileAssociation
impl RefUnwindSafe for ExportedFileAssociation
impl Send for ExportedFileAssociation
impl Sync for ExportedFileAssociation
impl Unpin for ExportedFileAssociation
impl UnwindSafe for ExportedFileAssociation
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