Struct publicsuffix::DnsName[][src]

pub struct DnsName { /* fields omitted */ }

Holds information about a particular DNS name

This is created by List::parse_dns_name.

Methods

impl DnsName
[src]

Extracts the root domain from a DNS name, if any

Trait Implementations

impl Debug for DnsName
[src]

Formats the value using the given formatter. Read more

impl Clone for DnsName
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for DnsName
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for DnsName
[src]

impl Hash for DnsName
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Display for DnsName
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for DnsName

impl Sync for DnsName