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