mirror of
https://github.com/Djeeberjr/fw-anwesenheit.git
synced 2025-10-13 15:06:39 +00:00
added Deserialize to IDMapping
This commit is contained in:
parent
2980d34394
commit
6b2c56f3e5
@ -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>,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user