Struct epp_client::epp::response::CommandResponseWithExtension [−][src]
pub struct CommandResponseWithExtension<T, E: ElementName> { pub result: EppResult, pub message_queue: Option<MessageQueue>, pub res_data: Option<T>, 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
message_queue: Option<MessageQueue>Data under the
res_data: Option<T>Data under the <resData> tag
extension: Option<Extension<E>>Data under the <extension> tag
tr_ids: ResponseTRIDData under the
Implementations
Returns the data under the corresponding <resData> from the EPP XML
Returns the data under the corresponding
Trait Implementations
impl<'de, T, E: ElementName> Deserialize<'de> for CommandResponseWithExtension<T, E> where
T: Deserialize<'de>,
E: Deserialize<'de>,
impl<'de, T, E: ElementName> Deserialize<'de> for CommandResponseWithExtension<T, E> where
T: Deserialize<'de>,
E: Deserialize<'de>,
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<T: PartialEq, E: PartialEq + ElementName> PartialEq<CommandResponseWithExtension<T, E>> for CommandResponseWithExtension<T, E>
impl<T: PartialEq, E: PartialEq + ElementName> PartialEq<CommandResponseWithExtension<T, E>> for CommandResponseWithExtension<T, E>
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.