Move rgp module back into extensions/rgp.rs

This commit is contained in:
Dirkjan Ochtman 2021-12-09 09:57:37 +01:00 committed by masalachai
parent ce30f1599f
commit 7039fdb7d6
2 changed files with 18 additions and 19 deletions

View File

@ -0,0 +1,17 @@
use serde::{Deserialize, Serialize};
pub mod report;
pub mod request;
pub const XMLNS: &str = "urn:ietf:params:xml:ns:rgp-1.0";
#[derive(Debug, Deserialize, Serialize)]
pub struct Update<T> {
#[serde(
rename = "rgp:update",
alias = "update",
alias = "upData",
alias = "infData"
)]
pub data: T,
}

View File

@ -135,25 +135,7 @@ pub mod domain {
pub mod extensions {
pub mod consolidate;
pub mod namestore;
pub mod rgp {
use serde::{Deserialize, Serialize};
pub mod report;
pub mod request;
pub const XMLNS: &str = "urn:ietf:params:xml:ns:rgp-1.0";
#[derive(Debug, Deserialize, Serialize)]
pub struct Update<T> {
#[serde(
rename = "rgp:update",
alias = "update",
alias = "upData",
alias = "infData"
)]
pub data: T,
}
}
pub mod rgp;
}
pub mod host {