pub struct DomainInfo {
pub domain: String,
pub status: String,
pub tld: String,
pub create_date: NaiveDateTime,
pub expire_date: NaiveDateTime,
pub security_lock: bool,
pub whois_privacy: bool,
pub auto_renew: bool,
pub not_local: bool,
pub labels: Vec<Label>,
}Expand description
A domain registration returned by the API server
Fields§
§domain: StringThe registered domain, including the TLD
status: StringThe status of the domain. “ACTIVE” if active,
tld: Stringthe TLD of the domain
create_date: NaiveDateTimeThe date-time this domain was created
expire_date: NaiveDateTimeThe date-time this domain will expire
security_lock: boolwhether the security lock has been turned on or not
whois_privacy: boolwhether whois privacy has been turned on or not
auto_renew: boolwhether auto-renewal is enabled or not
not_local: boolwhether this is an external domain or not
labels: Vec<Label>Any labels that have been assigned to this domain from the web interface
Trait Implementations§
Source§impl Debug for DomainInfo
impl Debug for DomainInfo
Source§impl<'de> Deserialize<'de> for DomainInfo
impl<'de> Deserialize<'de> for DomainInfo
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
Auto Trait Implementations§
impl Freeze for DomainInfo
impl RefUnwindSafe for DomainInfo
impl Send for DomainInfo
impl Sync for DomainInfo
impl Unpin for DomainInfo
impl UnwindSafe for DomainInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more