pub struct Response<D, E> {
pub result: EppResult,
pub message_queue: Option<MessageQueue>,
pub res_data: Option<D>,
pub extension: Option<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
message_queue: Option<MessageQueue>
Data under the
res_data: Option<D>
Data under the <resData> tag
extension: Option<E>
Data under the <extension> tag
tr_ids: ResponseTRID
Data under the
Implementations§
Trait Implementations§
Source§impl<'de, D, E> Deserialize<'de> for Response<D, E>where
D: Deserialize<'de>,
E: Deserialize<'de>,
impl<'de, D, E> Deserialize<'de> for Response<D, E>where
D: Deserialize<'de>,
E: Deserialize<'de>,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl<D: Eq, E: Eq> Eq for Response<D, E>
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