serialize client names

This commit is contained in:
soruh 2023-03-28 14:12:43 +02:00
parent 946bb37096
commit a2a2d89912

View File

@ -46,8 +46,8 @@ pub struct PortHandler {
pub port_state: HashMap<Port, PortState>,
#[serde(skip)]
#[cfg(feature = "debug_server")]
#[serde(default)]
pub names: HashMap<Number, String>,
}