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.
The domain premium price
Trait Implementations
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