Struct rusty_alfred::AlfredItemText [] [src]

pub struct AlfredItemText {
    pub copy: Option<String>,
    pub largetype: Option<String>,
}

The information for the text field on an item.

If these are not defined, you will inherit Alfred's standard behaviour where the arg is copied to the Clipboard or used for Large Type.

Fields

This defines the text the user will get when copying the selected result row with ⌘C.

This defines the text the user will get when displaying large type with ⌘L.

Methods

impl AlfredItemText
[src]

Creates a default item text.

Use the builder methods for more customization.

This defines the text the user will get when copying the selected result row with ⌘C.

This defines the text the user will get when displaying large type with ⌘L.

Trait Implementations

impl Debug for AlfredItemText
[src]

Formats the value using the given formatter.

impl PartialEq for AlfredItemText
[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 AlfredItemText
[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 AlfredItemText
[src]

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