Struct authy::api::phone::PhoneInfo [] [src]

pub struct PhoneInfo {
    pub phone_type: String,
    pub provider: Option<String>,
    pub ported: bool,
}

Returned when requesting info on a phone number

Fields

Phone number type. It can be voip, landline, cellphone, unknown.

Name of the service provider.

Whether the phone number was ported or not.

Trait Implementations

impl Debug for PhoneInfo
[src]

Formats the value using the given formatter.

impl Clone for PhoneInfo
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for PhoneInfo
[src]

impl PartialEq for PhoneInfo
[src]

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

This method tests for !=.