Struct pop_launcher::PluginSearchResult[][src]

pub struct PluginSearchResult {
    pub id: Indice,
    pub name: String,
    pub description: String,
    pub keywords: Option<Vec<String>>,
    pub icon: Option<IconSource>,
    pub exec: Option<String>,
    pub window: Option<(Generation, Indice)>,
}
Expand description

Search information from a plugin to be sorted and filtered by the launcher service.

Fields

id: Indice

Numeric identifier tracked by the plugin.

name: String

The name / title.

description: String

The description / subtitle.

keywords: Option<Vec<String>>

Extra words to match when sorting and filtering.

icon: Option<IconSource>

Icon to display in the frontend.

exec: Option<String>

Command that is executed by this result, used for sorting and filtering.

window: Option<(Generation, Indice)>

Designates that this search item refers to a window.

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.