diff --git a/src/types/passport_element_error.rs b/src/types/passport_element_error.rs index da96fba1..981d1232 100644 --- a/src/types/passport_element_error.rs +++ b/src/types/passport_element_error.rs @@ -38,8 +38,8 @@ impl PassportElementError { } } -#[serde(tag = "source")] #[derive(Clone, Debug, Hash, Eq, PartialEq, Serialize, Deserialize)] +#[serde(tag = "source")] pub enum PassportElementErrorKind { #[serde(rename = "data")] DataField(PassportElementErrorDataField),