fixes
This commit is contained in:
parent
c169b97a00
commit
f944f334ba
|
@ -858,19 +858,19 @@ enum Policy {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Serialize, Deserialize, Clone, Copy)]
|
#[derive(Serialize, Deserialize, Clone, Copy)]
|
||||||
#[serde(untagged)]
|
|
||||||
enum Source {
|
enum Source {
|
||||||
#[serde(rename = "market")]
|
#[serde(rename = "market")]
|
||||||
Market,
|
Market,
|
||||||
|
#[serde(untagged)]
|
||||||
Factory(usize),
|
Factory(usize),
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Serialize, Deserialize, Clone, Copy)]
|
#[derive(Serialize, Deserialize, Clone, Copy)]
|
||||||
#[serde(untagged)]
|
|
||||||
enum Destination {
|
enum Destination {
|
||||||
PatternLine(usize),
|
|
||||||
#[serde(rename = "floor")]
|
#[serde(rename = "floor")]
|
||||||
Floor,
|
Floor,
|
||||||
|
#[serde(untagged)]
|
||||||
|
PatternLine(usize),
|
||||||
}
|
}
|
||||||
|
|
||||||
// Tests
|
// Tests
|
||||||
|
|
Loading…
Reference in New Issue