Struct alfred::ModifierData [] [src]

pub struct ModifierData<'a> {
    pub subtitle: Option<Cow<'a, str>>,
    pub arg: Option<Cow<'a, str>>,
    pub valid: Option<bool>,
}

Optional overrides of subtitle, arg, and valid for modifiers.

Fields

The subtitle to use for the current modifier

The arg to use for the current modifier

The validity to use for the current modifier

Trait Implementations

impl<'a> Clone for ModifierData<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Debug for ModifierData<'a>
[src]

Formats the value using the given formatter.

impl<'a> PartialEq for ModifierData<'a>
[src]

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

This method tests for !=.

impl<'a> Eq for ModifierData<'a>
[src]

impl<'a> Default for ModifierData<'a>
[src]

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