diff --git a/src/azul.rs b/src/azul.rs index ee3cb0c..8f25aff 100644 --- a/src/azul.rs +++ b/src/azul.rs @@ -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