mirror of
https://github.com/Djeeberjr/fw-anwesenheit.git
synced 2026-04-30 10:39:09 +00:00
added Deserialize to IDMapping
This commit is contained in:
@@ -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>,
|
||||||
|
|||||||
Reference in New Issue
Block a user