pub struct DomainInfo {
pub registrar: Option<String>,
pub creation_date: Option<String>,
pub expiration_date: Option<String>,
pub status: Vec<String>,
pub updated_date: Option<String>,
pub nameservers: Vec<String>,
}
Expand description
Detailed information about a registered domain.
This information is typically extracted from RDAP responses and provides insights into the domain’s registration details.
Fields§
§registrar: Option<String>
The registrar that manages this domain
creation_date: Option<String>
When the domain was first registered
expiration_date: Option<String>
When the domain registration expires
status: Vec<String>
Domain status codes (e.g., “clientTransferProhibited”)
updated_date: Option<String>
Last update date of the domain record
nameservers: Vec<String>
Nameservers associated with the domain
Trait Implementations§
Source§impl Clone for DomainInfo
impl Clone for DomainInfo
Source§fn clone(&self) -> DomainInfo
fn clone(&self) -> DomainInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DomainInfo
impl Debug for DomainInfo
Source§impl Default for DomainInfo
impl Default for DomainInfo
Source§fn default() -> DomainInfo
fn default() -> DomainInfo
Returns the “default value” for a type. Read more
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