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: T

The instance that will be used to populate the <command> tag

extension: Option<Extension<E>>

The client TRID

client_tr_id: StringValue

Implementations

Creates a new <command> tag for an EPP document

Creates a new <command> tag for an EPP document with a containing <extension> tag

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serializes the generic type T to the proper XML tag (set by the #[element_name(name = <tagname>)] attribute) for the request

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.