Struct publicsuffix::List [] [src]

pub struct List { /* fields omitted */ }

Stores the public suffix list

You can use the methods, fetch, from_url or from_path to build the list. If you are using this in a long running server it's recommended you use either fetch or from_url to download updates at least once a week.

Methods

impl List
[src]

Pull the list from a URL

Fetch the list from a local file

Pull the list from the official URL

Gets a list of all ICANN domain suffices

Gets a list of all private domain suffices

Gets a list of all domain suffices

Parses a domain using the list

Trait Implementations

impl Debug for List
[src]

Formats the value using the given formatter.