Struct dnsimple::dnsimple::registrar::DomainRegistrationPayload[][src]

pub struct DomainRegistrationPayload {
    pub registrant_id: u64,
    pub whois_privacy: Option<bool>,
    pub auto_renew: Option<bool>,
    pub extended_attributes: Option<Vec<TldExtendedAttribute>>,
    pub premium_price: Option<String>,
}
Expand description

The payload to register a domain

Fields

registrant_id: u64

The associated registrant (contact) ID.

whois_privacy: Option<bool>

True if the domain WHOIS privacy was requested.

auto_renew: Option<bool>

True if the domain auto-renew was requested.

extended_attributes: Option<Vec<TldExtendedAttribute>>

The extended attributes for the domain if needed.

premium_price: Option<String>

The domain premium price

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

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.