added Deserialize to IDMapping

This commit is contained in:
Djeeberjr 2025-10-10 01:57:48 +02:00
parent 2980d34394
commit 6b2c56f3e5

View File

@ -10,7 +10,7 @@ pub struct Name {
pub last: String, pub last: String,
} }
#[derive(Clone, Serialize)] #[derive(Clone, Serialize, Deserialize)]
pub struct IDMapping { pub struct IDMapping {
#[serde(flatten)] #[serde(flatten)]
id_map: BTreeMap<TallyID, Name>, id_map: BTreeMap<TallyID, Name>,