pub struct WorkflowItem { /* private fields */ }Implementations
sourceimpl WorkflowItem
impl WorkflowItem
pub fn new(title: &str) -> WorkflowItem
pub fn uid(self, uid: &str) -> WorkflowItem
pub fn item_type(self, item_type: ItemType) -> WorkflowItem
pub fn subtitle(self, subtitle: &str) -> WorkflowItem
pub fn icon(self, icon: Icon) -> WorkflowItem
pub fn valid(self, v: bool) -> WorkflowItem
pub fn matches(self, matches: &str) -> WorkflowItem
pub fn mods(self, keys: Vec<ModKey>, modifier: Modifier) -> WorkflowItem
pub fn actions(self, action: Action) -> WorkflowItem
pub fn text(self, text: ItemText) -> WorkflowItem
pub fn quick_look(self, look_uri: &str) -> WorkflowItem
pub fn auto_complete(self, auto_complete: &str) -> WorkflowItem
pub fn vars(self, name: &str, value: &str) -> WorkflowItem
pub fn args(self, arg: &str) -> WorkflowItem
Trait Implementations
sourceimpl<'de> Deserialize<'de> for WorkflowItem
impl<'de> Deserialize<'de> for WorkflowItem
sourcefn 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
sourceimpl Serialize for WorkflowItem
impl Serialize for WorkflowItem
Auto Trait Implementations
impl RefUnwindSafe for WorkflowItem
impl Send for WorkflowItem
impl Sync for WorkflowItem
impl Unpin for WorkflowItem
impl UnwindSafe for WorkflowItem
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more