fixes
Co-authored-by: Daniel Løvbrøtte Olsen <danio@pvv.ntnu.no> Co-authored-by: Eirik Witterso <eirikwit@pvv.ntnu.no>
This commit is contained in:
parent
c169b97a00
commit
bc0f0444cc
|
@ -858,19 +858,19 @@ enum Policy {
|
|||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Clone, Copy)]
|
||||
#[serde(untagged)]
|
||||
enum Source {
|
||||
#[serde(rename = "market")]
|
||||
Market,
|
||||
#[serde(untagged)]
|
||||
Factory(usize),
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Clone, Copy)]
|
||||
#[serde(untagged)]
|
||||
enum Destination {
|
||||
PatternLine(usize),
|
||||
#[serde(rename = "floor")]
|
||||
Floor,
|
||||
#[serde(untagged)]
|
||||
PatternLine(usize),
|
||||
}
|
||||
|
||||
// Tests
|
||||
|
|
Loading…
Reference in New Issue