Enum gtld_data::GtldKind
[−]
[src]
pub enum GtldKind {
CountryCode,
GenericRestricted,
Generic,
Infrastructure,
Sponsored,
Test,
}The type of what a Gtld is. Each Gtld has a different type, with each
having a different purpose.
Wikipedia has a good summary of the differences of each:
https://en.wikipedia.org/wiki/Top-level_domain#Types
Derives Clone, Debug, and PartialEq.
Variants
CountryCodeccTLD: Two-letter domains established for countries or territories.
GenericRestrictedgrTLD: domains managed under official ICANN accredited registrars.
GenericgTLD: Top-level domains with three or more characters.
InfrastructureARPA: Consists of one domain, the Address and Routing Parameter Area.
SponsoredDomains that are proposed and sponsored by private agencies or organizations.
TestDomains installed under .test for testing purposes in the IDN development process.
Trait Implementations
impl PartialEq for GtldKind[src]
fn eq(&self, __arg_0: &GtldKind) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Debug for GtldKind[src]
impl Clone for GtldKind[src]
fn clone(&self) -> GtldKind
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more