pub struct Output { /* private fields */ }
Expand description
The output of a workflow (i.e. input for the script filter)
Implementations§
source§impl Output
impl Output
sourcepub fn rerun(&mut self, duration: Duration) -> &mut Self
pub fn rerun(&mut self, duration: Duration) -> &mut Self
Set the rerun value.
Scripts can be set to re-run automatically after an interval with a value of 0.1 to 5.0 seconds. The script will only be re-run if the script filter is still active and the user hasn’t changed the state of the filter by typing and triggering a re-run.
sourcepub fn skip_knowledge(&mut self, skip_knowledge: bool) -> &mut Self
pub fn skip_knowledge(&mut self, skip_knowledge: bool) -> &mut Self
Set the skip knowledge value.
This allows you to set uid
and preserve the item order while allowing
Alfred to retain knowledge of your items, like your current selection
during a re-run.
sourcepub fn items<I>(&mut self, iter: I) -> &mut Selfwhere
I: IntoIterator<Item = Item>,
pub fn items<I>(&mut self, iter: I) -> &mut Selfwhere
I: IntoIterator<Item = Item>,
Extend the list of items to output.
Trait Implementations§
source§impl PartialEq for Output
impl PartialEq for Output
impl Eq for Output
impl StructuralEq for Output
impl StructuralPartialEq for Output
Auto Trait Implementations§
impl RefUnwindSafe for Output
impl Send for Output
impl Sync for Output
impl Unpin for Output
impl UnwindSafe for Output
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