mirror of
https://github.com/Djeeberjr/fw-anwesenheit.git
synced 2026-04-30 18:49:09 +00:00
flatten IDMapping for serde
This commit is contained in:
@@ -12,6 +12,7 @@ pub struct Name {
|
|||||||
|
|
||||||
#[derive(Clone, Serialize)]
|
#[derive(Clone, Serialize)]
|
||||||
pub struct IDMapping {
|
pub struct IDMapping {
|
||||||
|
#[serde(flatten)]
|
||||||
id_map: BTreeMap<TallyID, Name>,
|
id_map: BTreeMap<TallyID, Name>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user