2026-10-25 16:07:38 +01:00
|
|
|
use serde::{Deserialize, Serialize};
|
|
|
|
|
|
|
|
|
|
#[derive(Debug, Clone, Serialize, Deserialize)]
|
|
|
|
|
#[serde(rename_all = "PascalCase")]
|
|
|
|
|
pub struct Webmodules {
|
2026-10-25 17:06:11 +01:00
|
|
|
pub web_modules: Vec<Webmodule>,
|
|
|
|
|
pub dashboard: Webmodule,
|
2026-10-25 16:07:38 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#[derive(Debug, Clone, Serialize, Deserialize)]
|
|
|
|
|
#[serde(rename_all = "PascalCase")]
|
|
|
|
|
pub struct Webmodule {
|
|
|
|
|
pub icon_id: Option<String>,
|
|
|
|
|
// "SubMenu":null, unknown type
|
|
|
|
|
pub url: Option<String>,
|
|
|
|
|
pub name: Option<String>,
|
|
|
|
|
}
|