Struct plaid::api::data::phone_number::PhoneNumber [] [src]

pub struct PhoneNumber {
    pub primary: bool,
    pub phone_number_type: String,
    pub phone_number: String,
}

A user's phone number, as returned by Plaid.

Fields

primary

Whether or not the user has chosen this as their primary phone number.

phone_number_type

The type of the phone number (e.g personal, home).

phone_number

The actual phone number.

Trait Implementations

impl Decodable for PhoneNumber

fn decode<D: Decoder>(d: &mut D) -> Result<PhoneNumber, D::Error>

Derived Implementations

impl Debug for PhoneNumber

fn fmt(&self, __arg_0: &mut Formatter) -> Result