Struct epp_client::epp::request::CommandWithExtension [−][src]
pub struct CommandWithExtension<T: ElementName, E: ElementName> { pub command: T, pub extension: Option<Extension<E>>, pub client_tr_id: StringValue, }
Expand description
Type corresponding to the <command> tag in an EPP XML request with an <extension> tag
Fields
command: TThe instance that will be used to populate the <command> tag
extension: Option<Extension<E>>The client TRID
client_tr_id: StringValueImplementations
Creates a new <command> tag for an EPP document with a containing <extension> tag
Trait Implementations
impl<'de, T: ElementName, E: ElementName> Deserialize<'de> for CommandWithExtension<T, E> where
T: Deserialize<'de>,
E: Deserialize<'de>,
impl<'de, T: ElementName, E: ElementName> Deserialize<'de> for CommandWithExtension<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 + ElementName, E: PartialEq + ElementName> PartialEq<CommandWithExtension<T, E>> for CommandWithExtension<T, E>
impl<T: PartialEq + ElementName, E: PartialEq + ElementName> PartialEq<CommandWithExtension<T, E>> for CommandWithExtension<T, E>
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.