tauri_plugin_android_fs/api/models/notification.rs
1
2/// Icon type used for notification UI.
3///
4/// # Serialization
5/// Serialized by `serde` as the following TypeScript type:
6///
7/// ```ts
8/// // NOTE: New variants may be added in the future
9/// type ProgressNotificationIconType = "App" | "Download" | "Upload" | "Save";
10/// ```
11#[derive(Debug, Clone, Copy, Hash, PartialEq, Eq, serde::Deserialize, serde::Serialize)]
12#[non_exhaustive]
13pub enum ProgressNotificationIcon {
14 Download,
15 Upload,
16 Save,
17 App,
18}