Mountain/IPC/WindServiceHandlers/NativeDialog/DialogFilter.rs
1#![allow(non_snake_case)]
2//! Tauri-shaped filter entry for native open/save dialogs. Pairs a
3//! human-readable category name ("VSIX Extensions") with a list of
4//! extensions (`["vsix"]`). Consumed by `tauri_plugin_dialog`'s
5//! `add_filter(name, &[&str])` once the list is flattened.
6//!
7//! Kept as a bare data atom so both dialog variants (open/save) import
8//! the same struct without pulling the full handler module.
9
10#[derive(Debug, Clone)]
11pub struct DialogFilter {
12 pub Name:String,
13 pub Extensions:Vec<String>,
14}