mirror of
https://github.com/Djeeberjr/fw-anwesenheit.git
synced 2025-10-13 15:06:39 +00:00
flatten IDMapping for serde
This commit is contained in:
parent
9b926f7a34
commit
2980d34394
@ -12,6 +12,7 @@ pub struct Name {
|
||||
|
||||
#[derive(Clone, Serialize)]
|
||||
pub struct IDMapping {
|
||||
#[serde(flatten)]
|
||||
id_map: BTreeMap<TallyID, Name>,
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user