Remove unused type

This commit is contained in:
Dirkjan Ochtman 2021-12-09 12:27:59 +01:00 committed by masalachai
parent ae0a6589a9
commit 2ac3a6398d
1 changed files with 0 additions and 11 deletions

View File

@ -119,17 +119,6 @@ impl HostAddr {
} }
} }
/// The <host> type for host transactions
#[derive(Serialize, Deserialize, Debug)]
pub struct Host {
/// The <hostName> tag
#[serde(rename = "host:name", alias = "name")]
pub name: StringValue,
/// The <hostAddr> tags
#[serde(rename = "host:addr", alias = "addr")]
pub addresses: Option<Vec<HostAddr>>,
}
/// The &lt;hostAttr&gt; type for domain transactions /// The &lt;hostAttr&gt; type for domain transactions
#[derive(Serialize, Deserialize, Debug)] #[derive(Serialize, Deserialize, Debug)]
pub struct HostAttr { pub struct HostAttr {