pub enum MDItemKey {
DisplayName,
FSName,
ModificationDate,
CreationDate,
LastUsedDate,
Size,
ContentType,
Path,
}Expand description
Metadata attribute keys that can be used in queries.
These keys correspond to macOS Spotlight metadata attributes.
Variants§
DisplayName
The user-visible display name of the item
FSName
The filename of the item
ModificationDate
The date the item’s content was last modified
CreationDate
The date the item’s content was created
LastUsedDate
The date the item was last used/opened
Size
The size of the item in bytes
ContentType
The UTI (Uniform Type Identifier) of the item
Path
The path of the item
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MDItemKey
impl RefUnwindSafe for MDItemKey
impl Send for MDItemKey
impl Sync for MDItemKey
impl Unpin for MDItemKey
impl UnwindSafe for MDItemKey
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