Struct phonenumber::metadata::Database [] [src]

pub struct Database { /* fields omitted */ }

Representation of a database of metadata for phone number.

Methods

impl Database
[src]

[src]

Load a database from the given file.

[src]

Parse a database from the given string.

[src]

Create a database from a loaded database.

[src]

Get the regular expression cache.

[src]

Get a metadata entry by country ID.

[src]

Get metadata entries by country code.

[src]

Get all country IDs corresponding to the given country code.

Trait Implementations

impl Clone for Database
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Database
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Database

impl Sync for Database