Struct dnsimple::dnsimple::registrar::DomainRegistration
source · pub struct DomainRegistration {
pub id: u64,
pub domain_id: u64,
pub registrant_id: u64,
pub period: u64,
pub state: String,
pub auto_renew: bool,
pub whois_privacy: bool,
pub created_at: String,
pub updated_at: String,
}
Expand description
The domain registration
Fields§
§id: u64
The domain registration ID in DNSimple.
domain_id: u64
The associated domain ID.
registrant_id: u64
The associated registrant (contact) ID.
period: u64
The number of years the domain was registered for.
state: String
The state of the renewal.
auto_renew: bool
True if the domain auto-renew was requested.
whois_privacy: bool
True if the domain WHOIS privacy was requested.
created_at: String
When the domain renewal was created in DNSimple.
updated_at: String
When the domain renewal was last updated in DNSimple.
Trait Implementations§
source§impl Debug for DomainRegistration
impl Debug for DomainRegistration
source§impl<'de> Deserialize<'de> for DomainRegistration
impl<'de> Deserialize<'de> for DomainRegistration
source§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