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
Returns the “default value” for a type. Read more
fn 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