use epp_client_macros::*; use crate::epp::object::{ElementName, EmptyTag, EppObject}; use crate::epp::response::CommandResponseWithExtension; use serde::{Deserialize, Serialize}; /// Type that represents the <epp> tag for the EPP XML rgp restore request response pub type EppDomainRgpRestoreRequestResponse = EppObject>; /// Type that represents the <rgpStatus> tag for domain rgp restore request response #[derive(Serialize, Deserialize, Debug)] pub struct RgpStatus { /// The domain RGP status #[serde(rename = "s")] pub status: String, } #[derive(Serialize, Deserialize, Debug, ElementName)] #[serde(rename = "upData")] #[element_name(name = "upData")] /// Type that represents the <resData> tag for domain transfer response pub struct RgpRequestResult { #[serde(rename = "xmlns:rgp")] xmlns: String, /// Data under the <rgpStatus> tag #[serde(rename = "rgpStatus")] pub rgp_status: RgpStatus, }