Enum rusty_alfred::AlfredItemType
[−]
[src]
pub enum AlfredItemType { Default, File, FileSkipCheck, }
Types for the type
field on an AlfredItemType
.
Variants
Default
Tells Alfred to treat this item as a normal action. This is the default if not specified.
File
Tells Alfred to treat this item as a file.
By specifying "type": "file", this makes Alfred treat your result as a file on your system. This allows the user to perform actions on the file like they can with Alfred's standard file filters.
FileSkipCheck
Tells Alfred to treat this item as a file but to also skip checking if the file exists.
When returning files, Alfred will check if the file exists before presenting that result to the user. This has a very small performance implication but makes the results as predictable as possible. If you would like Alfred to skip this check as you are certain that the files you are returning exist, you can use "type": "file:skipcheck".
Trait Implementations
impl Debug for AlfredItemType
[src]
impl PartialEq for AlfredItemType
[src]
fn eq(&self, __arg_0: &AlfredItemType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.