Common/UserInterface/DTO/SaveDialogOptionsDTO.rs
1//! # SaveDialogOptionsDTO
2//!
3//! Defines the Data Transfer Object for the options of a file save dialog.
4
5use serde::{Deserialize, Serialize};
6
7use super::DialogOptionsDTO::DialogOptionsDTO;
8
9/// A serializable struct that holds all configuration options for a "Save"
10/// file dialog. It flattens the shared `DialogOptionsDTO` and can be extended
11/// with save-specific properties in the future.
12#[derive(Serialize, Deserialize, Debug, Clone, Default)]
13#[serde(rename_all = "PascalCase")]
14pub struct SaveDialogOptionsDTO {
15 /// The base options common to all file dialogs.
16 #[serde(flatten)]
17 pub Base:DialogOptionsDTO,
18}