Crate psl_types[][src]

Expand description

Common types for the public suffix implementation crates

The types in this crate assume that the input is valid UTF-8 encoded domain names. If input is potentially invalid, use a higher level crate like the addr crate.

Some implentations may also assume that the domain name is in lowercase and/or may only support looking up unicode domain names.

Structs

A registrable domain name

Information about the suffix

The suffix of a domain name

Enums

Type of suffix

Traits

A list of all public suffixes