//! Common data types included in EPP Requests and Responses use std::borrow::Cow; use instant_xml::{FromXml, ToXml}; use crate::request::Extension; pub(crate) const EPP_XMLNS: &str = "urn:ietf:params:xml:ns:epp-1.0"; #[derive(Debug, Eq, PartialEq, ToXml)] pub struct NoExtension; impl<'xml> FromXml<'xml> for NoExtension { fn matches(_: instant_xml::Id<'_>, _: Option>) -> bool { false } fn deserialize<'cx>( _: &mut Self::Accumulator, _: &'static str, _: &mut instant_xml::Deserializer<'cx, 'xml>, ) -> Result<(), instant_xml::Error> { unreachable!() } type Accumulator = Option; const KIND: instant_xml::Kind = instant_xml::Kind::Element; } impl Extension for NoExtension { type Response = Self; } /// The `