Struct authy::phone::Phone [] [src]

pub struct Phone {
    pub country_code: u16,
    pub phone_number: String,
    pub phone_type: String,
    pub provider: Option<String>,
    pub ported: bool,
}

Returned when finding a phone number.

Please see api::phone for more details.

Fields

Methods

impl Phone
[src]

Request information on a phone number.

Please see api::phone::info for more details.

Initiate a phone verification check.

Please see api::phone::start for more details.

Verify phone verification code sent to user.

Please see api::phone::check for more details.

Trait Implementations

impl Debug for Phone
[src]

Formats the value using the given formatter.

impl Clone for Phone
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for Phone
[src]

Returns the "default value" for a type. Read more

impl Eq for Phone
[src]

impl PartialEq for Phone
[src]

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

This method tests for !=.