tauri_plugin_app_icon/
models.rs1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Clone, Deserialize, Serialize)]
4#[serde(rename_all = "camelCase")]
5pub struct IconOptions {
6 pub name: String,
7 pub disable: Option<Vec<String>>,
8 #[serde(default)]
9 pub suppress_notification: bool,
10}
11
12#[derive(Debug, Clone, Deserialize, Serialize)]
13#[serde(rename_all = "camelCase")]
14pub struct ResetOptions {
15 #[serde(default)]
16 pub suppress_notification: bool,
17 pub disable: Option<Vec<String>>,
18}
19
20#[derive(Debug, Clone, Serialize)]
21#[serde(rename_all = "camelCase")]
22pub struct IsSupportedResponse {
23 pub value: bool,
24}
25
26#[derive(Debug, Clone, Serialize)]
27#[serde(rename_all = "camelCase")]
28pub struct GetNameResponse {
29 pub value: Option<String>,
30}