Struct rusty_alfred::AlfredItemMod [] [src]

pub struct AlfredItemMod {
    pub valid: Option<bool>,
    pub arg: Option<String>,
    pub subtitle: Option<String>,
}

Information about a specific modifier to an item.

Fields

Marks if the result is valid based on the modifier selection.

The arg to be passed out if actioned with the modifier.

The subtitle to be displayed while the modifier is pressed.

Methods

impl AlfredItemMod
[src]

Creates an empty item modifier struct.

Use the builder methods for further customization.

Marks if the result is valid based on the modifier selection.

The arg to be passed out if actioned with the modifier.

The subtitle to be displayed while the modifier is pressed.

Trait Implementations

impl Debug for AlfredItemMod
[src]

Formats the value using the given formatter.

impl PartialEq for AlfredItemMod
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Hash for AlfredItemMod
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Default for AlfredItemMod
[src]

Returns the "default value" for a type. Read more