From c9c35bed2b7aa2cc83dcc9d630caf1006e5576a0 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sat, 16 Dec 2023 16:37:46 +0000 Subject: [PATCH] add Locale::None --- src/types/misc/locale.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/types/misc/locale.rs b/src/types/misc/locale.rs index 28d1497..b624f2d 100644 --- a/src/types/misc/locale.rs +++ b/src/types/misc/locale.rs @@ -18,6 +18,8 @@ use strum::{Display, EnumIs, EnumIter, EnumString}; )] pub enum Locale { // 🚧🚧 TODO 🚧🚧 : extend the list + #[serde(rename = "")] + None, #[serde(rename = "de-DE")] De, #[serde(rename = "en-US")]