CommonLibrary/TreeView/DTO/
TreeViewOptionsDTO.rs

1//! # TreeViewOptionsDTO
2//!
3//! Defines the Data Transfer Object for a tree view's configuration options.
4
5use serde::{Deserialize, Serialize};
6
7/// A struct that holds the configuration options for a tree view instance
8/// registered by an extension.
9#[derive(Serialize, Deserialize, Debug, Clone)]
10#[serde(rename_all = "PascalCase")]
11pub struct TreeViewOptionsDTO {
12	#[serde(default)]
13	pub CanSelectMany:bool,
14
15	#[serde(default)]
16	pub HasHandleDrag:bool,
17
18	#[serde(default)]
19	pub HasHandleDrop:bool,
20}