Struct instant_epp::response::Response
source · 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: EppResultData 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: ResponseTRIDData 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>
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>
type Accumulator = Option<Response<D, E>>
const KIND: Kind = ::instant_xml::Kind::Element
source§impl<D: PartialEq, E: PartialEq> PartialEq for Response<D, E>
impl<D: PartialEq, E: PartialEq> PartialEq for Response<D, E>
impl<D, E> StructuralPartialEq for Response<D, E>
Auto Trait Implementations§
impl<D, E> RefUnwindSafe for Response<D, E>where D: RefUnwindSafe, E: RefUnwindSafe,
impl<D, E> Send for Response<D, E>where D: Send, E: Send,
impl<D, E> Sync for Response<D, E>where D: Sync, E: Sync,
impl<D, E> Unpin for Response<D, E>where D: Unpin, E: Unpin,
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