pub struct Response<D, E> {
pub result: EppResult,
pub message_queue: Option<MessageQueue>,
pub res_data: Option<ResponseData<D>>,
pub extension: Option<Extension<E>>,
pub tr_ids: ResponseTRID,
}
Expand description
Type corresponding to the <response>
tag in an EPP response XML
containing an <extension>
tag
Fields§
§result: EppResult
Data under the <result>
tag
message_queue: Option<MessageQueue>
Data under the <msgQ>
tag
res_data: Option<ResponseData<D>>
Data under the <resData>
tag
extension: Option<Extension<E>>
Data under the <extension>
tag
tr_ids: ResponseTRID
Data under the <trID>
tag
Implementations§
Trait Implementations§
Source§impl<'xml, D: FromXml<'xml>, E: FromXml<'xml>> FromXml<'xml> for Response<D, E>
impl<'xml, D: FromXml<'xml>, E: FromXml<'xml>> FromXml<'xml> for Response<D, E>
const KIND: Kind = ::instant_xml::Kind::Element
type Accumulator = Option<Response<D, E>>
fn matches(id: Id<'_>, field: Option<Id<'_>>) -> bool
fn deserialize<'cx>( into: &mut Self::Accumulator, field: &'static str, deserializer: &mut Deserializer<'cx, 'xml>, ) -> Result<(), Error>
impl<D, E> StructuralPartialEq for Response<D, E>
Auto Trait Implementations§
impl<D, E> Freeze for Response<D, E>
impl<D, E> RefUnwindSafe for Response<D, E>where
D: RefUnwindSafe,
E: RefUnwindSafe,
impl<D, E> Send for Response<D, E>
impl<D, E> Sync for Response<D, E>
impl<D, E> Unpin for Response<D, E>
impl<D, E> UnwindSafe for Response<D, E>where
D: UnwindSafe,
E: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more