Struct pop_launcher::SearchResult [−][src]
pub struct SearchResult {
pub id: Indice,
pub name: String,
pub description: String,
pub icon: Option<IconSource>,
pub category_icon: Option<IconSource>,
pub window: Option<(Generation, Indice)>,
}
Expand description
Serialized response to launcher frontend about a search result.
Fields
id: Indice
Numeric identifier tracked by the plugin.
name: String
The name / title.
description: String
The description / subtitle.
icon: Option<IconSource>
Icon to display in the frontend for this item
category_icon: Option<IconSource>
Icon to display in the frontend for this plugin
window: Option<(Generation, Indice)>
Designates that this search item refers to a window.
Trait Implementations
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