pub enum Subject {
Command(String),
File(String),
Folder(String),
Device {
id: String,
volume_serial: Option<u32>,
},
Query(String),
}Expand description
The thing an Action was performed on.
Variants§
Command(String)
A shell command or program invocation.
File(String)
A file path.
Folder(String)
A folder path.
Device
An external device, with its volume serial kept distinct so a future LNK /
shellbag Subject::File carrying the same NTFS/FAT volume serial can be
joined to it (see device_file_volume_joins).
Fields
Query(String)
A search / lookup query.
Trait Implementations§
impl Eq for Subject
impl StructuralPartialEq for Subject
Auto Trait Implementations§
impl Freeze for Subject
impl RefUnwindSafe for Subject
impl Send for Subject
impl Sync for Subject
impl Unpin for Subject
impl UnsafeUnpin for Subject
impl UnwindSafe for Subject
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