From 1b6a774232f5ada1a27f55cff3e9057236b52c24 Mon Sep 17 00:00:00 2001 From: Kim Minh Kaplan Date: Mon, 3 Apr 2023 09:53:46 +0000 Subject: [PATCH] Order derive implementations alphabetically. --- src/contact/mod.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/contact/mod.rs b/src/contact/mod.rs index 3727e0d..8164b04 100644 --- a/src/contact/mod.rs +++ b/src/contact/mod.rs @@ -25,7 +25,7 @@ pub use update::ContactUpdate; pub const XMLNS: &str = "urn:ietf:params:xml:ns:contact-1.0"; -#[derive(Debug, Clone)] +#[derive(Clone, Debug)] pub struct Country(celes::Country); impl<'xml> FromXml<'xml> for Country { @@ -75,7 +75,7 @@ impl std::ops::Deref for Country { } /// The `` tag for domain and contact transactions -#[derive(Debug, Clone, PartialEq, FromXml, ToXml)] +#[derive(Clone, Debug, FromXml, PartialEq, ToXml)] #[xml(rename = "authInfo", ns(XMLNS))] pub struct ContactAuthInfo<'a> { /// The `` tag under `` @@ -93,7 +93,7 @@ impl<'a> ContactAuthInfo<'a> { } /// The data for `` types on domain transactions -#[derive(Debug, Clone, PartialEq, FromXml, ToXml)] +#[derive(Clone, Debug, FromXml, PartialEq, ToXml)] #[xml(rename = "voice", ns(XMLNS))] pub struct Voice<'a> { /// The value of the 'x' attr on `` and `` tags @@ -120,7 +120,7 @@ impl<'a> Voice<'a> { } /// The data for `` and `` types on domain transactions -#[derive(Debug, Clone, FromXml, ToXml, PartialEq)] +#[derive(Clone, Debug, FromXml, PartialEq, ToXml)] #[xml(rename = "fax", ns(XMLNS))] pub struct Fax<'a> { /// The value of the 'x' attr on `` and `` tags @@ -147,7 +147,7 @@ impl<'a> Fax<'a> { } /// The `` type on contact transactions -#[derive(Debug, Clone, FromXml, ToXml)] +#[derive(Clone, Debug, FromXml, ToXml)] #[xml(rename = "addr", ns(XMLNS))] pub struct Address<'a> { /// The `` tags under `` @@ -187,7 +187,7 @@ impl<'a> Address<'a> { } /// The `` type on contact transactions -#[derive(Debug, Clone, FromXml, ToXml)] +#[derive(Clone, Debug, FromXml, ToXml)] #[xml(rename = "postalInfo", ns(XMLNS))] pub struct PostalInfo<'a> { /// The 'type' attr on ``